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