X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=blobdiff_plain;f=compiler%2Ftypecheck%2FTcGenDeriv.lhs;fp=compiler%2Ftypecheck%2FTcGenDeriv.lhs;h=6e5aedc83e058d608a8b236b61c317a8dbff5be4;hp=4e95ad31b2a0027027be76b86f8caf0da2296b1d;hb=e4b5abb6ddfd07a7f95455c94faf2946a1bc078e;hpb=b57a93743f6d31a481bf462c6cf867196f9b60ab 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