Skip to content
New issue

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

ChainExpression > CallExpression missing optional #110

Closed
fisker opened this issue Oct 13, 2020 · 0 comments
Closed

ChainExpression > CallExpression missing optional #110

fisker opened this issue Oct 13, 2020 · 0 comments

Comments

@fisker
Copy link
Collaborator

fisker commented Oct 13, 2020

require('meriyah').parse('foo?.()', {next: true}).body[0].expression
{
  type: 'ChainExpression',
  expression: {
    type: 'CallExpression',
    callee: { type: 'Identifier', name: 'foo' },
    arguments: []
  }
}

Node.expression.optional should be true

@3cp 3cp mentioned this issue Oct 14, 2020
@3cp 3cp closed this as completed in 903c7f5 Oct 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant