diff options
author | Simon Peyton Jones <simonpj@microsoft.com> | 2013-04-22 12:56:09 +0100 |
---|---|---|
committer | Simon Peyton Jones <simonpj@microsoft.com> | 2013-04-22 13:00:57 +0100 |
commit | 0edc55b7f4fc3b2c07b47ea359542edfae40bb5a (patch) | |
tree | f88f0be1d33c5772fde887b49fd73820db40f287 /testsuite/tests/gadt | |
parent | 9bf2e77ede31f487b321d3f978c6e18a63739cd6 (diff) | |
download | haskell-0edc55b7f4fc3b2c07b47ea359542edfae40bb5a.tar.gz |
Error message wibbles, following TcErrors refactoring
Diffstat (limited to 'testsuite/tests/gadt')
-rw-r--r-- | testsuite/tests/gadt/T3651.stderr | 56 |
1 files changed, 21 insertions, 35 deletions
diff --git a/testsuite/tests/gadt/T3651.stderr b/testsuite/tests/gadt/T3651.stderr index 8f53dc05ef..5d5a4923b5 100644 --- a/testsuite/tests/gadt/T3651.stderr +++ b/testsuite/tests/gadt/T3651.stderr @@ -1,35 +1,21 @@ - -T3651.hs:11:11: - Couldn't match type ‛Bool’ with ‛()’ - Inaccessible code in - a pattern with constructor U :: Z (), in an equation for ‛unsafe1’ - In the pattern: U - In an equation for ‛unsafe1’: unsafe1 B U = () - -T3651.hs:11:15: - Couldn't match type ‛Bool’ with ‛()’ - Expected type: a - Actual type: () - In the expression: () - In an equation for ‛unsafe1’: unsafe1 B U = () - -T3651.hs:14:11: - Couldn't match type ‛Bool’ with ‛()’ - Inaccessible code in - a pattern with constructor U :: Z (), in an equation for ‛unsafe2’ - In the pattern: U - In an equation for ‛unsafe2’: unsafe2 B U = () - -T3651.hs:14:15: - Couldn't match type ‛Bool’ with ‛()’ - Expected type: a - Actual type: () - In the expression: () - In an equation for ‛unsafe2’: unsafe2 B U = () - -T3651.hs:17:11: - Couldn't match type ‛Bool’ with ‛()’ - Inaccessible code in - a pattern with constructor U :: Z (), in an equation for ‛unsafe3’ - In the pattern: U - In an equation for ‛unsafe3’: unsafe3 B U = True +
+T3651.hs:11:11:
+ Couldn't match type ‛Bool’ with ‛()’
+ Inaccessible code in
+ a pattern with constructor U :: Z (), in an equation for ‛unsafe1’
+ In the pattern: U
+ In an equation for ‛unsafe1’: unsafe1 B U = ()
+
+T3651.hs:14:11:
+ Couldn't match type ‛Bool’ with ‛()’
+ Inaccessible code in
+ a pattern with constructor U :: Z (), in an equation for ‛unsafe2’
+ In the pattern: U
+ In an equation for ‛unsafe2’: unsafe2 B U = ()
+
+T3651.hs:17:11:
+ Couldn't match type ‛Bool’ with ‛()’
+ Inaccessible code in
+ a pattern with constructor U :: Z (), in an equation for ‛unsafe3’
+ In the pattern: U
+ In an equation for ‛unsafe3’: unsafe3 B U = True
|