Closed wlchn closed 5 years ago
Syntax highlighting error, when comments before 'if' line and previous line without semicolon. eg. no comments no error: with semicolon no error: without semicolon cause highlighting error in "if" line:
Here's the repro:
let a = "a" //blah if (a) { console.log(a); }
This issue was moved to Microsoft/TypeScript-TmLanguage#669
Syntax highlighting error, when comments before 'if' line and previous line without semicolon. eg. no comments no error:
with semicolon no error:
without semicolon cause highlighting error in "if" line:
![image](https://user-images.githubusercontent.com/4652410/44846909-67af4380-ac84-11e8-86c9-c32b0fe4a9dc.png)