Closed Bug 381195 Opened 17 years ago Closed 15 years ago

Unnecessary parens due to nearby group assignment in |for|

Categories

(Core :: JavaScript Engine, defect)

x86
macOS
defect
Not set
minor

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: jruderman, Unassigned)

Details

(Keywords: testcase)

js> (function() { for([x] = [1]; false; t - 2) { } })
function () {
    for ([x] = [1]; false; (t - 2)) {
    }
}

Found by jsfunfuzz because it caused a round-trip change.
WFM
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.