Skip to content

Parse jsx correctly after let/var/const without semicolonΒ #92

@danez

Description

@danez

In acornjs/acorn@f0cbb35 this was fixed:

let a
/regex/

The same issue exists with jsx and the parser is not able to parse this currently:

let a
<jsx />

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions