summaryrefslogtreecommitdiff
path: root/compiler
diff options
context:
space:
mode:
authorsimonpj@microsoft.com <unknown>2009-11-02 17:21:14 +0000
committersimonpj@microsoft.com <unknown>2009-11-02 17:21:14 +0000
commit931d450e1f3c601e35f6e2460f721152bd458976 (patch)
tree660a86ee7c5f9fb732fc0057f1379a04141e1910 /compiler
parente45d0387b4fdfe83ce9228631938882ef96f7288 (diff)
downloadhaskell-931d450e1f3c601e35f6e2460f721152bd458976.tar.gz
Comments only
Diffstat (limited to 'compiler')
-rw-r--r--compiler/simplCore/SimplCore.lhs8
1 files changed, 4 insertions, 4 deletions
diff --git a/compiler/simplCore/SimplCore.lhs b/compiler/simplCore/SimplCore.lhs
index 5bdf6ee979..0f881cf07b 100644
--- a/compiler/simplCore/SimplCore.lhs
+++ b/compiler/simplCore/SimplCore.lhs
@@ -668,11 +668,11 @@ x_local to transfer to x_exported. Hence the copyIdInfo call.
RULES: we want to *add* any RULES for x_local to x_exported.
-Note [Messing up the exported Id's IdInfo]
+Note [Messing up the exported Id's RULES]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-We must be careful about discarding the IdInfo on the old Id
-
-The example that went bad on me at one stage was this one:
+We must be careful about discarding (obviously) or even merging the
+RULES on the exported Id. The example that went bad on me at one stage
+was this one:
iterate :: (a -> a) -> a -> [a]
[Exported]