Closed Bug 618853 Opened 10 years ago Closed 10 years ago

TypeInference: inference failure for "new builtin()"

Categories

(Core :: JavaScript Engine, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: jandem, Unassigned)

References

(Blocks 1 open bug)

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: 10 years ago
Resolution: --- → FIXED
Whiteboard: fixed-in-jaegermonkey
You need to log in before you can comment on or make changes to this bug.