Closed
Bug 385204
Opened 18 years ago
Closed 14 years ago
Decompilation retains extra parens in "f((x + y));"
Categories
(Core :: JavaScript Engine, defect)
Core
JavaScript Engine
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: jruderman, Unassigned)
Details
(Keywords: regression, testcase)
js> function() { f((x + y)); }
function () {
f((x + y));
}
I'd expect to get "f(x + y)" instead.
Updated•18 years ago
|
Comment 1•18 years ago
|
||
You'd have to make sure that in the "f((x = y))" case the extra parens remain though (preventing a strict warning).
Reporter | ||
Comment 2•18 years ago
|
||
There's no strict warning for f(x = y). The strict warning you're thinking of applies to if-conditions and while-conditions but not to function arguments.
Comment 3•18 years ago
|
||
Indeed, my bad, although not having a strict warning in this case seems slightly inconsistent to me. Anyway: not this bug.
You need to log in
before you can comment on or make changes to this bug.
Description
•