X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=compiler%2Fghci%2FRtClosureInspect.hs;h=6be06333d24f7023fe2c7438d6c2194e9b95bbd9;hb=f0338529f1c7a4793ec376851300d55fb3f1dc6b;hp=54b7b0893a36857038aae9dc58a3df6b48538006;hpb=4179e02ec7ec7aea79273cdcc166123c2ddd2063;p=ghc-hetmet.git diff --git a/compiler/ghci/RtClosureInspect.hs b/compiler/ghci/RtClosureInspect.hs index 54b7b08..6be0633 100644 --- a/compiler/ghci/RtClosureInspect.hs +++ b/compiler/ghci/RtClosureInspect.hs @@ -891,6 +891,6 @@ zonkTerm = foldTerm idTermFoldM { -- Is this defined elsewhere? -- Generalize the type: find all free tyvars and wrap in the appropiate ForAll. sigmaType :: Type -> Type -sigmaType ty = mkForAllTys (varSetElems$ tyVarsOfType (dropForAlls ty)) ty +sigmaType ty = mkSigmaTy (varSetElems$ tyVarsOfType (dropForAlls ty)) [] ty