Closed
Bug 627684
Opened 15 years ago
Closed 15 years ago
TypeInference: "[infer failure] Missing type" with try..catch, jsop_deffun
Categories
(Core :: JavaScript Engine, defect)
Core
JavaScript Engine
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: jandem, Unassigned)
References
Details
--
function f() {
for(var i=0; i<3; i++) {
try {
g();
} catch(e) {
print(e);
}
function g() {
print('g');
}
}
}
f();
--
Expected output:
ReferenceError: g is not defined
g
g
Interpreter output:
ReferenceError: g is not defined
[infer failure] Missing type at #3:00012 pushed 0: 156:#2
Comment 1•15 years ago
|
||
This works for me now, the g() is a CALLNAME whose pushed values we no longer track.
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•