Closed
Bug 1339964
Opened 7 years ago
Closed 7 years ago
"export async function f() {}" cannot be parsed
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)
5.48 KB,
patch
|
till
:
review+
|
Details | Diff | Splinter Review |
code: parseModule("export async function() {}") actual: "SyntaxError: missing declaration after 'export' keyword:" expected: parses
Assignee | ||
Comment 1•7 years ago
|
||
the code was wrong I meant: parseModule("export async function f() {}")
Summary: "export async function() {}" cannot be parsed → "export async function f() {}" cannot be parsed
Assignee | ||
Comment 2•7 years ago
|
||
this patch is based on bug 1339963 patch. forgot to handle TOK_ASYNC case after "export". (was handling it only after "export default"
Attachment #8837857 -
Flags: review?(till)
Comment 3•7 years ago
|
||
Comment on attachment 8837857 [details] [diff] [review] Support export async function() {}. Review of attachment 8837857 [details] [diff] [review]: ----------------------------------------------------------------- r=me, thank you.
Attachment #8837857 -
Flags: review?(till) → review+
Assignee | ||
Comment 4•7 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/12302127707b1b30a86969e9db2b99d0820dafb5 Bug 1339964 - Support export async function f() {}. r=till
Comment 5•7 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/12302127707b
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
•