projects
/
ghc-hetmet.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
[project @ 2001-08-22 11:45:06 by sewardj]
[ghc-hetmet.git]
/
ghc
/
tests
/
typecheck
/
should_fail
/
tcfail077.hs
1
module ShouldFail where
2
3
-- !!! declaring a default method in a class that doesn't have that method.
4
5
class Foo a where
6
op :: a -> a
7
8
op2 x = x -- Bogus declaration