From 9f72be34f54e3bc24439bf09d030b394907a8ab0 Mon Sep 17 00:00:00 2001 From: Roman Leshchinskiy Date: Fri, 16 Oct 2009 10:44:07 +0000 Subject: [PATCH] Fix bug in data type vectorisation --- compiler/vectorise/VectUtils.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/vectorise/VectUtils.hs b/compiler/vectorise/VectUtils.hs index ea647c7..9ff5b5a 100644 --- a/compiler/vectorise/VectUtils.hs +++ b/compiler/vectorise/VectUtils.hs @@ -241,7 +241,7 @@ prDictOfTyApp ty_fn ty_args | Just ty_fn' <- coreView ty_fn = prDictOfTyApp ty_fn' ty_args prDictOfTyApp (TyConApp tc _) ty_args = do - dfun <- prDFunOfTyCon tc + dfun <- liftM Var $ maybeV (lookupTyConPR tc) prDFunApply dfun ty_args prDictOfTyApp _ _ = noV -- 1.7.10.4