Closed
Bug 1111101
Opened 10 years ago
Closed 10 years ago
delete (((foo))) should be an early error
Categories
(Core :: JavaScript Engine, defect)
Core
JavaScript Engine
Tracking
()
RESOLVED
FIXED
People
(Reporter: Waldo, Assigned: Waldo)
References
(Blocks 1 open bug)
Details
Attachments
(1 file, 1 obsolete file)
|
2.72 KB,
patch
|
Details | Diff | Splinter Review |
See 12.5.4.1 Early Errors for the delete operator.
| Assignee | ||
Comment 1•10 years ago
|
||
Fixed by bug 1084959, which made parenthesization of any node be a no-op, *unless* that node was a string literal (this being necessary to distinguish "use strict" from its ineffective parenthesized cousin). While the idea of that fix was definitely right, and it fixed the problem it intended to fix, it was incomplete: a whole bunch more things need to have non-identity transformation under setInParens. Bug 1122286 will fix those cases shortly.
I have a test for this which I'll upload here, then land next time I'm landing patches in the tree.
| Assignee | ||
Comment 2•10 years ago
|
||
| Assignee | ||
Updated•10 years ago
|
Assignee: nobody → jwalden+bmo
| Assignee | ||
Comment 3•10 years ago
|
||
| Assignee | ||
Updated•10 years ago
|
Attachment #8554150 -
Attachment is obsolete: true
| Assignee | ||
Comment 4•10 years ago
|
||
Landed the test: https://hg.mozilla.org/integration/mozilla-inbound/rev/dcbfef090900
You need to log in
before you can comment on or make changes to this bug.
Description
•