Closed
Bug 352015
Opened 19 years ago
Closed 19 years ago
Missing parens in decompilation of "yield" expressions
Categories
(Core :: JavaScript Engine, defect, P2)
Core
JavaScript Engine
Tracking
()
VERIFIED
FIXED
mozilla1.8.1
People
(Reporter: jruderman, Assigned: brendan)
Details
(Keywords: testcase, verified1.8.1)
Attachments
(1 file)
|
1.25 KB,
patch
|
mrbkap
:
review+
mtschrep
:
approval1.8.1+
|
Details | Diff | Splinter Review |
js> version(170)
0
js> function() { (yield).a }
function () {
yield.a;
}
js> function() { 3 + (yield 4) }
function () {
3 + yield 4;
}
| Assignee | ||
Comment 1•19 years ago
|
||
This means functon () { x = yield y; } will overparenthesize the RHS, but that's ok by me. KISS.
/be
| Assignee | ||
Updated•19 years ago
|
OS: Mac OS X 10.4 → All
Priority: -- → P2
Hardware: Macintosh → All
Target Milestone: --- → mozilla1.8.1
Updated•19 years ago
|
Attachment #237589 -
Flags: review?(mrbkap) → review+
| Assignee | ||
Comment 2•19 years ago
|
||
Comment on attachment 237589 [details] [diff] [review]
fix
Safe patch builds on the recent precedence reform, to automate parenthesization when decompiling.
/be
Attachment #237589 -
Flags: approval1.8.1?
| Assignee | ||
Comment 3•19 years ago
|
||
Fixed on trunk.
/be
Status: ASSIGNED → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
| Assignee | ||
Comment 4•19 years ago
|
||
*** Bug 352030 has been marked as a duplicate of this bug. ***
Comment 5•19 years ago
|
||
Comment on attachment 237589 [details] [diff] [review]
fix
a=schrep for js decompiler cleanup
Attachment #237589 -
Flags: approval1.8.1? → approval1.8.1+
Comment 7•19 years ago
|
||
Checking in js1_7/geniter/regress-352015.js;
/cvsroot/mozilla/js/tests/js1_7/geniter/regress-352015.js,v <-- regress-352015.js
initial revision: 1.1
done
Flags: in-testsuite+
Comment 8•19 years ago
|
||
verified fixed 1.8 1.9 2006091022 windows/mac*/linux
Status: RESOLVED → VERIFIED
Keywords: fixed1.8.1 → verified1.8.1
You need to log in
before you can comment on or make changes to this bug.
Description
•