Closed
Bug 790247
Opened 12 years ago
Closed 12 years ago
reflect.parse "word with space" Identifiers aren't computed.
Categories
(Core :: JavaScript Engine, defect)
Tracking
()
RESOLVED
FIXED
mozilla18
People
(Reporter: glind, Unassigned)
References
Details
Attachments
(1 file)
3.67 KB,
patch
|
jorendorff
:
review+
|
Details | Diff | Splinter Review |
No description provided.
Reporter | ||
Comment 1•12 years ago
|
||
"computed" should be true in the following. js> print(JSON.stringify(Reflect.parse('var a = {}; a["some thing"] = 1'),null,2)) {loc:{start:{line:1, column:0}, end:{line:1, column:15}, source:null}, type:"MemberExpression", object:{loc:{start:{line:1, column:0}, end:{line:1, column:1}, source:null}, type:"Identifier", name:"a"}, property:{loc:null, type:"Identifier", name:"some thing"}, computed:false} https://gist.github.com/3694575 https://github.com/Constellation/escodegen/issues/52
Comment 2•12 years ago
|
||
Surpress computed property name folding
Attachment #660132 -
Flags: review?(jorendorff)
Comment 3•12 years ago
|
||
Comment on attachment 660132 [details] [diff] [review] v1. Not folding property name Review of attachment 660132 [details] [diff] [review]: ----------------------------------------------------------------- Love it!
Attachment #660132 -
Flags: review?(jorendorff) → review+
Comment 4•12 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/a48425deb532
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla18
You need to log in
before you can comment on or make changes to this bug.
Description
•