Closed Bug 581871 Opened 15 years ago Closed 15 years ago

JM: Some conditional operators broken

Categories

(Core :: JavaScript Engine, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: adrake, Unassigned)

Details

In the following testcase, 32-bit (with and without ICs) and 64-bit methodjit shells on moo tip fail with: 'test.js:10: Error: Assertion failed: got "failure", expected "success"': function test(p) { var alwaysFalse = p && !p; var arr = {}; if (!alwaysFalse) { arr[0] = alwaysFalse ? "failure" : "success"; return arr[0]; } return "failure2"; } assertEq(test("anything"), "success");
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.