Closed
Bug 381108
Opened 18 years ago
Closed 18 years ago
Inconsistent use of space after colon in object literal decompilation
Categories
(Core :: JavaScript Engine, defect)
Tracking
()
VERIFIED
FIXED
People
(Reporter: jruderman, Assigned: mrbkap)
References
Details
(Keywords: testcase)
Attachments
(1 file)
2.13 KB,
patch
|
brendan
:
review+
|
Details | Diff | Splinter Review |
js> (function() { return {a:3, b getter: f} })
function () {
return {a:3, b getter: f};
}
It would be nice if there were a space after "a:" like there's a space after "b getter:". The space after "b getter:" was added in bug 381101.
Assignee | ||
Comment 1•18 years ago
|
||
Attachment #265189 -
Flags: review?(brendan)
Comment 2•18 years ago
|
||
Comment on attachment 265189 [details] [diff] [review]
Trivial fix
Cool. Bonus for that followup bug about using JSOP_ANONFUNOBJ2 for genexps instead of a strncmp(..., js_function_str, 8) evil.
/be
Attachment #265189 -
Flags: review?(brendan) → review+
Assignee | ||
Comment 3•18 years ago
|
||
For the record: I'm waiting to check this in until I have a chance to run the JS testsuite and make sure that none of the tests depend on this inconsistent behavior.
Assignee: general → mrbkap
Assignee | ||
Updated•18 years ago
|
Status: NEW → ASSIGNED
Assignee | ||
Comment 4•18 years ago
|
||
Fix checked into trunk.
Status: ASSIGNED → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
Comment 5•18 years ago
|
||
/cvsroot/mozilla/js/tests/js1_7/decompilation/regress-381108.js,v <-- regress-381108.js
initial revision: 1.1
Flags: in-testsuite+
You need to log in
before you can comment on or make changes to this bug.
Description
•