summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2022-02-22 21:28:45 -0500
committerBen Gamari <ben@smart-cactus.org>2022-02-24 14:42:59 -0500
commit84601fb8f29a16cb057c94b9787d8dc37ce673b9 (patch)
treefd2037660798db03bbbe3ef47eb0dfcf39ed71c8
parent59b7f764489d3eb765e0b40e916b1438ff76e1fa (diff)
downloadhaskell-84601fb8f29a16cb057c94b9787d8dc37ce673b9.tar.gz
Fix comment reference to T4818
-rw-r--r--compiler/GHC/Core/Rules.hs3
1 files changed, 2 insertions, 1 deletions
diff --git a/compiler/GHC/Core/Rules.hs b/compiler/GHC/Core/Rules.hs
index 14bcd4564f..9a1db01c2a 100644
--- a/compiler/GHC/Core/Rules.hs
+++ b/compiler/GHC/Core/Rules.hs
@@ -1364,7 +1364,7 @@ There are a couple of tricky points.
f (let v = e1 in b1) (let v = e2 in b2)
--> NOT!
let v = e1 in let v = e2 in (f b2 b2)
- See testsuite test "RuleFloatLet".
+ See testsuite test "T4814".
Our cunning plan is this:
* Along with the growing substitution for template variables
@@ -1387,6 +1387,7 @@ Our cunning plan is this:
* We apply that freshening substitution, in a lexically-scoped
way to the term, although lazily; this is the rv_fltR field.
+See #4814, which is an issue resulting from getting this wrong.
Note [Matching cases]
~~~~~~~~~~~~~~~~~~~~~