Closed
Bug 617688
Opened 14 years ago
Closed 14 years ago
TypeInference: wrong result for x = -(void 0)
Categories
(Core :: JavaScript Engine, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: jandem, Unassigned)
References
Details
(Whiteboard: fixed-in-jaegermonkey)
---
var x = -(void 0);
assertEq(x, NaN);
---
test.js:2: Error: Assertion failed: got 0, expected NaN
Looks like it has to do with the store:
./js
js> x = -(void 0);
NaN
js> x
NaN
./js -m
js> x = -(void 0);
NaN
js> x
0
Comment 1•14 years ago
|
||
This was fixed by the patch in bug 617670.
http://hg.mozilla.org/projects/jaegermonkey/rev/c247104a1499
Depends on: 617670
Whiteboard: fixed-in-jaegermonkey
Updated•14 years ago
|
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•