projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e7b69c5
)
[project @ 2001-04-30 11:23:28 by simonpj]
author
simonpj
<unknown>
Mon, 30 Apr 2001 11:23:28 +0000
(11:23 +0000)
committer
simonpj
<unknown>
Mon, 30 Apr 2001 11:23:28 +0000
(11:23 +0000)
Fix test so that it doesnt use undecidable instances
ghc/tests/typecheck/should_compile/tc109.hs
patch
|
blob
|
history
diff --git
a/ghc/tests/typecheck/should_compile/tc109.hs
b/ghc/tests/typecheck/should_compile/tc109.hs
index
133aac1
..
a57b3fb
100644
(file)
--- a/
ghc/tests/typecheck/should_compile/tc109.hs
+++ b/
ghc/tests/typecheck/should_compile/tc109.hs
@@
-8,7
+8,7
@@
module ShouldCompile where
class P a
class R a b | b->a
-instance (P a,R a b) => P b
+instance (P a,R a b) => P [b]
{- GHC 4.08.1 doesn't seem to allow variables in the context that
don't appear after the =>, but which are still ok since they are