From 069cfd9a9f716581852807fbfbb8fb8643ea1ac4 Mon Sep 17 00:00:00 2001 From: Neil Brown Date: Wed, 4 Jun 2008 19:06:05 +0000 Subject: [PATCH] Fixed the pulling up of replicators when they are free names (something that was broken in the original Rep change) --- transformations/Unnest.hs | 1 + 1 file changed, 1 insertion(+) diff --git a/transformations/Unnest.hs b/transformations/Unnest.hs index 23c9028..c2069a1 100644 --- a/transformations/Unnest.hs +++ b/transformations/Unnest.hs @@ -163,6 +163,7 @@ removeFreeNames = pass "Convert free names to arguments" A.IsChannelArray {} -> True A.Retypes {} -> True A.RetypesExpr {} -> True + A.Rep {} -> True _ -> False -- | Add the extra arguments we recorded when we saw the definition.