Closed
Bug 1335025
Opened 7 years ago
Closed 7 years ago
Async function expression's source notation have parens in wrong position
Categories
(Core :: JavaScript Engine, defect)
Core
JavaScript Engine
Tracking
()
RESOLVED
FIXED
mozilla54
Tracking | Status | |
---|---|---|
firefox54 | --- | fixed |
People
(Reporter: arai, Assigned: arai)
Details
Attachments
(1 file)
2.46 KB,
patch
|
till
:
review+
|
Details | Diff | Splinter Review |
code: (async function f() {}).toSource() actual result: async (function f() {}) expected result: (async function f() {})
Assignee | ||
Comment 1•7 years ago
|
||
swapped the position of "(" and "async ". this doesn't affect toString, since toString doesn't have "(".
Attachment #8831689 -
Flags: review?(till)
Comment 2•7 years ago
|
||
Comment on attachment 8831689 [details] [diff] [review] Fix source notation of async function expression. Review of attachment 8831689 [details] [diff] [review]: ----------------------------------------------------------------- Uh, yes, good catch.
Attachment #8831689 -
Flags: review?(till) → review+
Assignee | ||
Comment 3•7 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/e717a96e766da2cf93c6d0457cac19c99b38e4b7 Bug 1335025 - Fix source notation of async function expression. r=till
Comment 4•7 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/e717a96e766d
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla54
You need to log in
before you can comment on or make changes to this bug.
Description
•