X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=blobdiff_plain;f=compiler%2Fstranal%2FWwLib.lhs;h=40a2a26606fb8633009a89bc1e99a60909545ed2;hp=611c4d4e3ebe91bcaead78f96fc05494698c5d44;hb=d2ce0f52d42edf32bb9f13796e6ba6edba8bd516;hpb=0084ab49ab3c0123c4b7f9523d092af45bccfd41 diff --git a/compiler/stranal/WwLib.lhs b/compiler/stranal/WwLib.lhs index 611c4d4..40a2a26 100644 --- a/compiler/stranal/WwLib.lhs +++ b/compiler/stranal/WwLib.lhs @@ -336,7 +336,7 @@ mkWWstr (arg : args) = do -- brings into scope wrap_arg (via lets) mkWWstr_one :: Var -> UniqSM ([Var], CoreExpr -> CoreExpr, CoreExpr -> CoreExpr) mkWWstr_one arg - | isTyVar arg + | isTyCoVar arg = return ([arg], nop_fn, nop_fn) | otherwise