Closed Bug 639795 Opened 13 years ago Closed 13 years ago

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

Categories

(Core :: JavaScript Engine, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: jandem, Unassigned)

References

Details

--
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
Closed: 13 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.