Check for function when parsing export async (#639)
This commit is contained in:
1
test/fixtures/es2017/async-functions/export-async/actual.js
vendored
Normal file
1
test/fixtures/es2017/async-functions/export-async/actual.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
export async;
|
||||
4
test/fixtures/es2017/async-functions/export-async/options.json
vendored
Normal file
4
test/fixtures/es2017/async-functions/export-async/options.json
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"sourceType": "module",
|
||||
"throws": "Unexpected token, expected function (1:12)"
|
||||
}
|
||||
Reference in New Issue
Block a user