[Bug]: Wrong ASI after get
in class body
#16713
Labels
i: bug
outdated
A closed issue/PR that is archived due to age. Recommended to make a new issue
pkg: parser
💻
How are you using Babel?
Other (Next.js, Gatsby, vue-cli, ...)
Input code
Configuration file name
No response
Configuration
n/a
Current and expected behavior
Babel inserts a semicolon after
get
, parsing that class as containing a field namedget
and a generator method.This is wrong, and Babel should report an error for that code.
Environment
Babel 7.25.0
Possible solution
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: