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:
68d07ca
)
Wibble to fix Trac #1901 (shorten messsage slightly)
author
simonpj@microsoft.com
<unknown>
Fri, 16 Nov 2007 15:03:41 +0000
(15:03 +0000)
committer
simonpj@microsoft.com
<unknown>
Fri, 16 Nov 2007 15:03:41 +0000
(15:03 +0000)
compiler/typecheck/TcTyClsDecls.lhs
patch
|
blob
|
history
diff --git
a/compiler/typecheck/TcTyClsDecls.lhs
b/compiler/typecheck/TcTyClsDecls.lhs
index
3880f1f
..
83b2114
100644
(file)
--- a/
compiler/typecheck/TcTyClsDecls.lhs
+++ b/
compiler/typecheck/TcTyClsDecls.lhs
@@
-1214,7
+1214,7
@@
badGadtDecl tc_name
badExistential con_name
= hang (ptext SLIT("Data constructor") <+> quotes (ppr con_name) <+>
- ptext SLIT("has existential type variables, or a context, or both"))
+ ptext SLIT("has existential type variables, or a context"))
2 (parens $ ptext SLIT("Use -XExistentialQuantification or -XGADTs to allow this"))
badStupidTheta tc_name