Fix function.sent parsing
This commit is contained in:
3
test/fixtures/experimental/function-sent/enabled-function-keyword-expression/actual.js
vendored
Normal file
3
test/fixtures/experimental/function-sent/enabled-function-keyword-expression/actual.js
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
function* foo() {
|
||||
(function.sent() {});
|
||||
}
|
||||
4
test/fixtures/experimental/function-sent/enabled-function-keyword-expression/options.json
vendored
Normal file
4
test/fixtures/experimental/function-sent/enabled-function-keyword-expression/options.json
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"plugins": ["functionSent"],
|
||||
"throws": "Unexpected token, expected , (2:19)"
|
||||
}
|
||||
Reference in New Issue
Block a user