Skip to content
This repository was archived by the owner on Jan 19, 2019. It is now read-only.
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

Description

@soda0289

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions