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:
a7ba22f
)
Improve error message (push to 6.6 branch)
author
simonpj@microsoft.com
<unknown>
Wed, 1 Nov 2006 12:37:27 +0000
(12:37 +0000)
committer
simonpj@microsoft.com
<unknown>
Wed, 1 Nov 2006 12:37:27 +0000
(12:37 +0000)
compiler/typecheck/TcMType.lhs
patch
|
blob
|
history
diff --git
a/compiler/typecheck/TcMType.lhs
b/compiler/typecheck/TcMType.lhs
index
4aef899
..
dd7b627
100644
(file)
--- a/
compiler/typecheck/TcMType.lhs
+++ b/
compiler/typecheck/TcMType.lhs
@@
-1111,7
+1111,8
@@
checkValidInstance tyvars theta clas inst_tys
(instTypeErr (pprClassPred clas inst_tys) msg)
}
where
- msg = parens (ptext SLIT("the Coverage Condition fails for one of the functional dependencies"))
+ msg = parens (vcat [ptext SLIT("the Coverage Condition fails for one of the functional dependencies;"),
+ undecidableMsg])
\end{code}
Termination test: each assertion in the context satisfies