[1.8 branch] bogus decompilation with let-expression in catchguard

RESOLVED WONTFIX

Status

()

--
minor
RESOLVED WONTFIX
12 years ago
7 years ago

People

(Reporter: jruderman, Unassigned)

Tracking

(Blocks: 1 bug, {testcase})

Trunk
x86
Mac OS X
testcase
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

12 years ago
js> f = (function() { try { } catch(e if let (x = y = '') 3) { } })
function () {
    try {
    } catch (e if let (y = "" = y = "") 3) {
    }
}

js> eval(uneval(f))
typein:2: SyntaxError: invalid assignment left-hand side:
typein:2: (function () {try {} catch (e if let (y = "" = y = "") 3) {}})
typein:2: .............................................^
Works on trunk. Do we care about issues on the MOZILLA_1_8_BRANCH at this point?
I say no.
Status: NEW → RESOLVED
Last Resolved: 7 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.