We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Test case:
function() { var espree = require('espree'); var options = { ecmaFeatures: { generators: true, arrowFunctions: true, defaultParams: true } }; var ast = espree.parse('function *g() { (x = yield) => {} }', options); return ast.body[0].body.body[0].expression.params[0].right.type; }
Actual: YieldIdentifier.
Expected: Identifier.
The text was updated successfully, but these errors were encountered:
Thanks!
Sorry, something went wrong.
Working on this.
Is this true for function expressions as well as arrow functions?
725e9f9
Merge pull request #169 from eslint/issue165
5880b41
Fix: Yield as identifier in arrow func args (fixes #165)
No branches or pull requests
Test case:
Actual: YieldIdentifier.
Expected: Identifier.
The text was updated successfully, but these errors were encountered: