summaryrefslogtreecommitdiff
path: root/testsuite/tests/gadt/T3651.stderr
diff options
context:
space:
mode:
authorSimon Peyton Jones <simonpj@microsoft.com>2015-01-03 23:27:21 +0000
committerSimon Peyton Jones <simonpj@microsoft.com>2015-01-06 14:18:44 +0000
commit00e1fc1b18e1b5aa5db18bee9f9adc67435f00b0 (patch)
treedebc157bb5e87e8cf464f9fd9517c089a9dd5861 /testsuite/tests/gadt/T3651.stderr
parentf17992a4954ac14cc6a3fe6a61ec6544a098da93 (diff)
downloadhaskell-00e1fc1b18e1b5aa5db18bee9f9adc67435f00b0.tar.gz
Modify a couple of error messages slightly
In particular In the type signature for: f :: Int -> Int I added the colon Also reword the "maybe you haven't applied a function to enough arguments?" suggestion to make grammatical sense. These tiny changes affect a lot of error messages.
Diffstat (limited to 'testsuite/tests/gadt/T3651.stderr')
-rw-r--r--testsuite/tests/gadt/T3651.stderr6
1 files changed, 3 insertions, 3 deletions
diff --git a/testsuite/tests/gadt/T3651.stderr b/testsuite/tests/gadt/T3651.stderr
index e9230a4538..db723c8d50 100644
--- a/testsuite/tests/gadt/T3651.stderr
+++ b/testsuite/tests/gadt/T3651.stderr
@@ -2,20 +2,20 @@
T3651.hs:11:11:
Couldn't match type ‘Bool’ with ‘()’
Inaccessible code in
- a pattern with constructor U :: Z (), in an equation for ‘unsafe1’
+ 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’
+ 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’
+ a pattern with constructor: U :: Z (), in an equation for ‘unsafe3’
In the pattern: U
In an equation for ‘unsafe3’: unsafe3 B U = True