We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
If switch branch contents several values syntax highlighting breaks after | and restores after next one.
switch
|
switch val { 128 | 256 => 64, 384 | 512 => 96, }
The text was updated successfully, but these errors were encountered:
Hhhmmm.... seems that an even number of items doesn't allow it to recover. An odd number of items can be recovered.
And a simple expression x | y with two terms also doesn't work, so this must be a particular issue with the | operator.
x | y
It is likely to be a conflict with the | x, y | ... closure syntax...
| x, y | ...
As I'm not really an expert in writing syntax highlighting expressions... I'm not sure how this can be fixed.
Sorry, something went wrong.
No branches or pull requests
If
switch
branch contents several values syntax highlighting breaks after|
and restores after next one.The text was updated successfully, but these errors were encountered: