From 3aff16171d3bd0c27826c8947edf8fff7d07fef2 Mon Sep 17 00:00:00 2001 From: Roman Leshchinskiy Date: Mon, 16 Jul 2007 07:23:38 +0000 Subject: [PATCH] Fix bug in lifted environment inspection code --- compiler/vectorise/Vectorise.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 1.7.10.4