Commit 8ea33dc
fix extra indentation caused by ';' in 'top'/'}' contexts.
';' after end of class definition is changing context to 'statement' from 'top' (or '}'). This results in subsequent lines to be indented with 2-spaces (extra).
Fix is not to pushContext when curPunc is ';' and context.type is '} or 'top'.1 parent 8979bc7 commit 8ea33dc
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
133 | 133 | | |
134 | 134 | | |
135 | 135 | | |
136 | | - | |
| 136 | + | |
137 | 137 | | |
138 | 138 | | |
139 | 139 | | |
| |||
0 commit comments