Skip to content
This repository was archived by the owner on Jan 19, 2019. It is now read-only.

MetaProperty nodes are not converted correctly #194

Closed
soda0289 opened this issue Mar 18, 2017 · 0 comments
Closed

MetaProperty nodes are not converted correctly #194

soda0289 opened this issue Mar 18, 2017 · 0 comments
Labels

Comments

@soda0289
Copy link
Member

What version of TypeScript are you using?
2.2.1

What version of typescript-eslint-parser are you using?
2.0.0

What code were you trying to parse?

new foo.bar();
//OR
() => {
    new.target;
}

What did you expect to happen?
new foo.bar() should generate a NewExpression node
new.target() should generate a MetaProperty node

What happened?
They both generate invalid MetaProperty nodes

PR will be up soon

@soda0289 soda0289 changed the title MetaProperty are not converted correctly MetaProperty nodes are not converted correctly Mar 18, 2017
soda0289 added a commit to soda0289/typescript-eslint-parser that referenced this issue Mar 18, 2017
soda0289 added a commit to soda0289/typescript-eslint-parser that referenced this issue Mar 18, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants