Closed OzelotVanilla closed 1 year ago
I discovered that all control statement keyword like break
or continue
shares the scope keyword.control.loop
, and keyword.control.default
seems only to be used in export or import statement. So this question could be solved by:
Simply set keyword.control.default
's value as the modifier, since the default
keyword in loop uses another scope.
JavaScript and TypeScript Nightly version: 5.3.0-dev.20231015
Code
Currently
default
at this position is assignedkeyword.control.default
, while it is overlapping with thedefault
in theswitch
statement.To make it clearer, it might be better to assign it with something like
storage.modifier.default
like theasync
.