TI: [infer failure] Missing type at #2:00028 pushed 0: #4:3:Array

RESOLVED WORKSFORME

Status

()

Core
JavaScript Engine
RESOLVED WORKSFORME
7 years ago
7 years ago

People

(Reporter: jandem, Unassigned)

Tracking

(Blocks: 1 bug)

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

7 years ago
--
gczeal(2);
function f() {
    var y;
    Array(eval("y = [-10]"))[NaN];
    return y;
}
f();
--
$ ./js -a -n test.js
[infer failure] Missing type at #2:00028 pushed 0: #4:3:Array
This works for me now.  This was probably fixed by bug 639759 --- after the eval script is destroyed the type object for [-10] gets put onto a different compartment and things break.
Status: NEW → RESOLVED
Last Resolved: 7 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.