Closed Bug 465902 Opened 17 years ago Closed 17 years ago

TM: wrong number (involves |let|, global, six times through outer loop)

Categories

(Core :: JavaScript Engine, defect, P2)

x86
macOS
defect

Tracking

()

VERIFIED WORKSFORME
Tracking Status
status1.9.2 --- beta1-fixed

People

(Reporter: jruderman, Unassigned)

References

Details

(Keywords: testcase)

for (let j = 0; j < 6; ++j) { e = 3; for each (let c in [10, 20, 30]) { print("" + e); e = c; } } delete e; Does fine for the first five(!!) times through the outer loop, correctly printing these three values as it goes through the inner loop: 3 10 20 But the sixth time through the outer loop, it prints this instead: 3 3.0000000000000044 <-- wtf? 20
Flags: blocking1.9.1+
I'm pretty sure this is a dup of 465915. I'll mark it as blocked by that bug for now.
Depends on: 465915
Priority: -- → P2
Yep, the fix for bug 469044 (which fixed bug 465915) seems to have fixed this as well. Andreas, want to add this testcase too?
Status: NEW → RESOLVED
Closed: 17 years ago
Flags: in-testsuite?
Resolution: --- → WORKSFORME
Yeah we should have this test-case too. Add it to trace-tests. If you need help just assign the bug to me and I will do it.
trace-test added in rev d5da9351d606
Flags: in-testsuite? → in-testsuite+
v 1.9.3, 1.9.2
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.