Closed Bug 475893 Opened 15 years ago Closed 12 years ago

Extra parens in decompilation with ternary and assignment

Categories

(Core :: JavaScript Engine, defect)

x86
macOS
defect
Not set
minor

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: jruderman, Unassigned)

Details

(Keywords: testcase)

js> (function(x) { return x ? 1 : a += 3 })   
function (x) {
    return x ? 1 : (a += 3);
}
Fixed by saving the source.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.