summaryrefslogtreecommitdiff
path: root/ghc/compiler
diff options
context:
space:
mode:
authorpanne <unknown>2003-08-29 16:16:02 +0000
committerpanne <unknown>2003-08-29 16:16:02 +0000
commitbfc04eafd766aeae7566ea6e98302086271d42a5 (patch)
tree0ecc7cc6d50340556386dcfb77a990b643eec1b3 /ghc/compiler
parent5c0bddfb836dc4231eaa16e28d2c2aa263a80b70 (diff)
downloadhaskell-bfc04eafd766aeae7566ea6e98302086271d42a5.tar.gz
[project @ 2003-08-29 16:15:59 by panne]
-fno-prune-tydecls is dead, Jim...
Diffstat (limited to 'ghc/compiler')
-rw-r--r--ghc/compiler/types/Variance.lhs8
1 files changed, 1 insertions, 7 deletions
diff --git a/ghc/compiler/types/Variance.lhs b/ghc/compiler/types/Variance.lhs
index 5f4b3f64c8..9b6ad508aa 100644
--- a/ghc/compiler/types/Variance.lhs
+++ b/ghc/compiler/types/Variance.lhs
@@ -102,13 +102,7 @@ abstractVrcs tc =
#ifdef DEBUG
pprTrace "Vrc: abstract tycon:" (ppr tc) $
#endif
- warn_abstract_vrcs `seq` replicate (tyConArity tc) (True,True)
-
-warn_abstract_vrcs
--- we pull the message out as a CAF so the warning only appears *once*
- = trace ("WARNING: tyConArgVrc info inaccurate due to unavailable constructors.\n"
- ++ " Use -fno-prune-tydecls to fix.") $
- ()
+ replicate (tyConArity tc) (True,True)
\end{code}