From 1591940996eef71a29cd1605ffa45493b54c07d8 Mon Sep 17 00:00:00 2001 From: Neil Brown Date: Mon, 2 Feb 2009 16:07:47 +0000 Subject: [PATCH] Removed the fixConstructorTypes pass for now This pass was responsible for screwing up the types of all arrays after type inference, and the compiler seems to work fine without it --- frontends/OccamPasses.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontends/OccamPasses.hs b/frontends/OccamPasses.hs index 6146fd5..4f2f826 100644 --- a/frontends/OccamPasses.hs +++ b/frontends/OccamPasses.hs @@ -41,7 +41,7 @@ occamPasses = [ occamOnlyPass "Dummy occam pass" [] (Prop.agg_namesDone ++ [Prop.mainTagged]) return , inferTypes , foldConstants - , fixConstructorTypes +-- , fixConstructorTypes , checkConstants , resolveAmbiguities , checkTypes