Closed Bug 350240 Opened 18 years ago Closed 18 years ago

Incorrect hoisting of delete-expression out of if-condition with "let"

Categories

(Core :: JavaScript Engine, defect)

PowerPC
macOS
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: jruderman, Unassigned)

Details

(Keywords: testcase)

> function () { if (let (a) delete a(b)) { c; } }
function () { a(b); if (let (a) true) { c; } }

This hoisting is incorrect (or done incorrectly) because it changes how "a" is bound for the expression "a(b)".
WFM.  Fixed by the patch in bug 350242?
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.