X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc%2Fcompiler%2FsimplCore%2FSimplEnv.lhs;h=5406e3da09e28c2d08f6df0e348c178d7ccee315;hb=dabfa71f33eabc5a2d10959728f772aa016f1c84;hp=ade1cfa03fafb9e365f7db65492ce5d58d18563f;hpb=5cf27e8f1731c52fe63a5b9615f927484164c61b;p=ghc-hetmet.git diff --git a/ghc/compiler/simplCore/SimplEnv.lhs b/ghc/compiler/simplCore/SimplEnv.lhs index ade1cfa..5406e3d 100644 --- a/ghc/compiler/simplCore/SimplEnv.lhs +++ b/ghc/compiler/simplCore/SimplEnv.lhs @@ -663,7 +663,7 @@ extendUnfoldEnvGivenConstructor env var con args (_, ty_args, _) = getAppDataTyConExpandingDicts scrut_ty in extendUnfoldEnvGivenFormDetails - env var (ConForm con (map VarArg args)) + env var (ConForm con (map TyArg ty_args ++ map VarArg args)) \end{code}