From: Roman Leshchinskiy Date: Mon, 16 Jul 2007 07:23:38 +0000 (+0000) Subject: Fix bug in lifted environment inspection code X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=commitdiff_plain;h=3aff16171d3bd0c27826c8947edf8fff7d07fef2 Fix bug in lifted environment inspection code --- diff --git a/compiler/vectorise/Vectorise.hs b/compiler/vectorise/Vectorise.hs index a42298f..d5b78f1 100644 --- a/compiler/vectorise/Vectorise.hs +++ b/compiler/vectorise/Vectorise.hs @@ -404,7 +404,7 @@ mkClosureMonoFns info arg body return . Let (NonRec lbndr lenv) $ Case (mkApps (Var lengthPA) [Type vty, (Var lbndr)]) lc_bndr - intPrimTy + (exprType lbody) [(DEFAULT, [], lbody)] bind_lenv lenv lbody lc_bndr lbndrs