Closed Bug 473014 Opened 16 years ago Closed 16 years ago

TM: Variable missing in closure

Categories

(Core :: JavaScript Engine, defect)

x86
macOS
defect
Not set
normal

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.
Depends on: upvar2
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → WORKSFORME
Flags: blocking1.9.1+
Flags: in-testsuite?
You need to log in before you can comment on or make changes to this bug.