Unexpected ASI after static
in class
#43836
Labels
Bug
A bug in TypeScript
Fix Available
A PR has been opened for this issue
Has Repro
This issue has compiler-backed repros: https://aka.ms/ts-repros
Rescheduled
This issue was previously scheduled to an earlier milestone
Milestone
Bug Report
π Search Terms
static ASI newline
Related: #38283
π Version & Regression Information
It fails 4.2.3 and nightly. It works in 4.0.5. I think this regression has been introduced by #41127.
β― Playground Link
Playground link with relevant code
π» Code
π Actual behavior
It is parsed as two instance fields named
static
.π Expected behavior
It should be parsed as a static field named
static
.The text was updated successfully, but these errors were encountered: