X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc%2Fcompiler%2Ftypes%2FVariance.lhs;h=9b6ad508aa53898b51bdaff2db659b2ddec859e8;hb=bfc04eafd766aeae7566ea6e98302086271d42a5;hp=5f4b3f64c8b4121b70a7edcc1beeab9aaa99155f;hpb=5c0bddfb836dc4231eaa16e28d2c2aa263a80b70;p=ghc-hetmet.git diff --git a/ghc/compiler/types/Variance.lhs b/ghc/compiler/types/Variance.lhs index 5f4b3f6..9b6ad50 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}