Closed Bug 517157 Opened 15 years ago Closed 14 years ago

Decompilation is missing parens around assignment in this case

Categories

(Core :: JavaScript Engine, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: jruderman, Unassigned)

Details

(Keywords: testcase)

js> print(function() { "" + x + (y = 0); })
function () {
    "" + x + y = 0;
}

This decompilation doesn't compile: "invalid assignment left-hand side".
WFM
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.