summaryrefslogtreecommitdiff
path: root/testsuite/tests/gadt
diff options
context:
space:
mode:
authorSimon Peyton Jones <simonpj@microsoft.com>2013-04-22 12:56:09 +0100
committerSimon Peyton Jones <simonpj@microsoft.com>2013-04-22 13:00:57 +0100
commit0edc55b7f4fc3b2c07b47ea359542edfae40bb5a (patch)
treef88f0be1d33c5772fde887b49fd73820db40f287 /testsuite/tests/gadt
parent9bf2e77ede31f487b321d3f978c6e18a63739cd6 (diff)
downloadhaskell-0edc55b7f4fc3b2c07b47ea359542edfae40bb5a.tar.gz
Error message wibbles, following TcErrors refactoring
Diffstat (limited to 'testsuite/tests/gadt')
-rw-r--r--testsuite/tests/gadt/T3651.stderr56
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