projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[project @ 1997-05-26 05:42:53 by sof]
[ghc-hetmet.git]
/
ghc
/
compiler
/
tests
/
typecheck
/
should_fail
/
tcfail001.hs
diff --git
a/ghc/compiler/tests/typecheck/should_fail/tcfail001.hs
b/ghc/compiler/tests/typecheck/should_fail/tcfail001.hs
index
4e4ae93
..
dafb83a
100644
(file)
--- a/
ghc/compiler/tests/typecheck/should_fail/tcfail001.hs
+++ b/
ghc/compiler/tests/typecheck/should_fail/tcfail001.hs
@@
-1,5
+1,6
@@
--!!! This should fail with a type error: the instance method
--!!! has a function type when it should have the type [a].
+module Test where
class A a where
op :: a