Closed Bug 476118 Opened 15 years ago Closed 15 years ago

Wrong number with >>>, type instability

Categories

(Core :: JavaScript Engine, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: jruderman, Unassigned)

Details

(Keywords: testcase)

var a, b, w;
for (a = 0; a < 4; ++a) {
    w = a >>> 0;
    for each (b in ["", "", 3, ""]) {
    }
}
print(w);

Without -j: 3
With -j:    -6.277435978499889e+66
for each (e in ["", {}, "", ""]) {
    ++e;
    for each (let b in [3.1, 3.1, 5]) {
    }
}
print(e);

Without -j: 1
With -j:    0
Status: NEW → RESOLVED
Closed: 15 years ago
Flags: in-testsuite?
Flags: blocking1.9.1+
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.