Closed
Bug 473014
Opened 16 years ago
Closed 15 years ago
TM: Variable missing in closure
Categories
(Core :: JavaScript Engine, defect)
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: jruderman, Unassigned)
References
Details
(Keywords: testcase)
for (let i = 0; i < 9; ++i) { let m = i; if (i % 3 == 1) { print('' + (function() { return m; })()); } } Without -j: 1 4 7 With -j: 1 typein:4: ReferenceError: m is not defined Related to bug 472941? If I change "m" to "41" in the closure, I hit that assertion.
Updated•15 years ago
|
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → WORKSFORME
Updated•15 years ago
|
Flags: blocking1.9.1+
Updated•15 years ago
|
Flags: in-testsuite?
You need to log in
before you can comment on or make changes to this bug.
Description
•