projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[project @ 2001-08-04 06:19:54 by ken]
[ghc-hetmet.git]
/
ghc
/
tests
/
typecheck
/
should_fail
/
tcfail010.stderr
diff --git
a/ghc/tests/typecheck/should_fail/tcfail010.stderr
b/ghc/tests/typecheck/should_fail/tcfail010.stderr
index
d707740
..
ef08279
100644
(file)
--- a/
ghc/tests/typecheck/should_fail/tcfail010.stderr
+++ b/
ghc/tests/typecheck/should_fail/tcfail010.stderr
@@
-1,9
+1,6
@@
-
-tcfail010.hs:3: No instance for: `PrelBase.Num [taBS]'
- arising from use of `PrelBase.+' at tcfail010.hs:3
-
-tcfail010.hs:3: No instance for: `PrelBase.Num [taBS]'
- arising from use of `PrelBase.+' at tcfail010.hs:3
-
-Compilation had errors
+tcfail010.hs:3:
+ No instance for `Num [t]'
+ arising from the literal `2' at tcfail010.hs:3
+ In the second argument of `(+)', namely `2'
+ in a lambda abstraction: z + 2