Closed Bug 474951 Opened 16 years ago Closed 16 years ago

TM: Incorrect result with "with", type-unstable global

Categories

(Core :: JavaScript Engine, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: jruderman, Assigned: dvander)

References

Details

(Keywords: regression, testcase)

with ({}) { for each (let a in [3, "", 3, 3, "", 3, ""]) { for each (c in [{x: 3}, 3.14159, {x: 3}]) { } } } print(c.x); Result without -j: "3" Result with -j: "undefined" This seems to be a regression from bug 469044 or something pushed since then.
Assignee: general → danderson
WFM, both say "3" now.
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.