DanielXMoore / Civet

A TypeScript superset that favors more types and less typing

Home Page:https://civet.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Stray semicolon in class body causes ParseError

bbrk24 opened this issue · comments

MWE:

class C
 ;

Given that class C {;} is valid JS, this should probably be accepted. Note that if the newline is removed, the above code does compile.