diff options
author | Simon Peyton Jones <simonpj@microsoft.com> | 2012-01-12 18:15:48 +0000 |
---|---|---|
committer | Simon Peyton Jones <simonpj@microsoft.com> | 2012-01-12 18:15:48 +0000 |
commit | df587d5717c4438762a5a5a5a7a09dc3febf8905 (patch) | |
tree | 47a95596ef7296318d60c9e6b39988f4df29eddf /testsuite/tests/annotations/should_fail/annfail08.stderr | |
parent | 922bc6b946575b14ae5de360f2dca57ac015ce6f (diff) | |
parent | d342f88d5eb2b1dd5c1f93a774a9b1103edfd0b8 (diff) | |
download | haskell-df587d5717c4438762a5a5a5a7a09dc3febf8905.tar.gz |
Merge branch 'master' of http://darcs.haskell.org/testsuite
Conflicts:
tests/typecheck/should_run/all.T
Diffstat (limited to 'testsuite/tests/annotations/should_fail/annfail08.stderr')
-rw-r--r-- | testsuite/tests/annotations/should_fail/annfail08.stderr | 34 |
1 files changed, 19 insertions, 15 deletions
diff --git a/testsuite/tests/annotations/should_fail/annfail08.stderr b/testsuite/tests/annotations/should_fail/annfail08.stderr index a97ca4e2b5..7e9b112dca 100644 --- a/testsuite/tests/annotations/should_fail/annfail08.stderr +++ b/testsuite/tests/annotations/should_fail/annfail08.stderr @@ -1,15 +1,19 @@ -
-annfail08.hs:9:1:
- No instance for (Data.Data.Data (a0 -> a0))
- arising from an annotation
- Possible fix:
- add an instance declaration for (Data.Data.Data (a0 -> a0))
- In the expression: (id + 1)
- In the annotation: {-# ANN f (id + 1) #-}
-
-annfail08.hs:9:15:
- No instance for (Num (a0 -> a0))
- arising from a use of `+'
- Possible fix: add an instance declaration for (Num (a0 -> a0))
- In the expression: (id + 1)
- In the annotation: {-# ANN f (id + 1) #-}
+ +annfail08.hs:9:1: + No instance for (Data.Data.Data (a0 -> a0)) + arising from an annotation + The type variable `a0' is ambiguous + Possible fix: add a type signature that fixes these type variable(s) + Possible fix: + add an instance declaration for (Data.Data.Data (a0 -> a0)) + In the expression: (id + 1) + In the annotation: {-# ANN f (id + 1) #-} + +annfail08.hs:9:15: + No instance for (Num (a0 -> a0)) + arising from a use of `+' + The type variable `a0' is ambiguous + Possible fix: add a type signature that fixes these type variable(s) + Possible fix: add an instance declaration for (Num (a0 -> a0)) + In the expression: (id + 1) + In the annotation: {-# ANN f (id + 1) #-} |