TypeInference: inference failure for "new builtin()"

RESOLVED FIXED

Status

()

defect
RESOLVED FIXED
9 years ago
9 years ago

People

(Reporter: jandem, Unassigned)

Tracking

(Blocks 1 bug)

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: fixed-in-jaegermonkey)

For example:

$ ./js
js> new isNaN;
[infer failure] Missing type at #1:00007 popped 0: Object:prototype:new

This is related to bug 202019.
Blocks: infer-regress
No longer blocks: TypeInference
Good catch, this just marks the return type as unknown when using 'new' on all natives except class constructors.

http://hg.mozilla.org/projects/jaegermonkey/rev/3d1614793bd2
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Whiteboard: fixed-in-jaegermonkey
You need to log in before you can comment on or make changes to this bug.