X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=compiler%2Ftypecheck%2FTcGenDeriv.lhs;h=6e5aedc83e058d608a8b236b61c317a8dbff5be4;hb=162c7e780267c73495fb245a873f7e3b8431471b;hp=4e95ad31b2a0027027be76b86f8caf0da2296b1d;hpb=7fc01c4671980ea3c66d549c0ece4d82fd3f5ade;p=ghc-hetmet.git diff --git a/compiler/typecheck/TcGenDeriv.lhs b/compiler/typecheck/TcGenDeriv.lhs index 4e95ad3..6e5aedc 100644 --- a/compiler/typecheck/TcGenDeriv.lhs +++ b/compiler/typecheck/TcGenDeriv.lhs @@ -1668,7 +1668,7 @@ genAuxBind loc (GenCon2Tag tycon) rdr_name = con2tag_RDR tycon sig_ty = HsCoreTy $ - mkForAllTys (tyConTyVars tycon) $ + mkSigmaTy (tyConTyVars tycon) (tyConStupidTheta tycon) $ mkParentType tycon `mkFunTy` intPrimTy lots_of_constructors = tyConFamilySize tycon > 8