X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=blobdiff_plain;f=compiler%2Ftypecheck%2FTcDeriv.lhs;h=4d80631670b366956ca12c08cfe29bb2ca26e18a;hp=ffd7bacb8d2cb6e8d7cad8d44ea5860dde9bd1a5;hb=cb698570b2b8ff5da58f0a49f3444b0664425b49;hpb=811746d7b3462b62aa233a17e778c1de1d0817dd diff --git a/compiler/typecheck/TcDeriv.lhs b/compiler/typecheck/TcDeriv.lhs index ffd7bac..4d80631 100644 --- a/compiler/typecheck/TcDeriv.lhs +++ b/compiler/typecheck/TcDeriv.lhs @@ -940,8 +940,7 @@ sideConditions mtheta cls | cls_key == traversableClassKey = Just (checkFlag Opt_DeriveTraversable `andCond` cond_functorOK False) | cls_key == genClassKey = Just (cond_RepresentableOk `andCond` - (checkFlag Opt_DeriveGeneric `orCond` - checkFlag Opt_Generics)) + checkFlag Opt_DeriveGeneric) | otherwise = Nothing where cls_key = getUnique cls