aboutsummaryrefslogtreecommitdiff
path: root/src/test/fixtures/function-scope-bug.jsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/fixtures/function-scope-bug.jsx')
-rw-r--r--src/test/fixtures/function-scope-bug.jsx5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/test/fixtures/function-scope-bug.jsx b/src/test/fixtures/function-scope-bug.jsx
index 57c783d87..6c76e8fac 100644
--- a/src/test/fixtures/function-scope-bug.jsx
+++ b/src/test/fixtures/function-scope-bug.jsx
@@ -14,7 +14,10 @@ var Bar = () => {
);
};
-// This is where it failed.
+// It failed while parsing this function.
+// The bug happened due to incorrectly modifying scopes_in_order
+// The fix was using tombstoning instead of deleting
+// The fix also resolved some performance issues.
var Baz = () => {
return (
<div prop={1}>