You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
dysonreturns
changed the title
(ruby) Bitewise OR pipe confused with Block Parenthesis pipes
(ruby) Bitwise OR pipe confused with Block Parenthesis pipes
Dec 20, 2024
Describe the issue
Bitwise OR operators which use pipe "|", i.e
1 | 2
get confused with block parenthesis syntax wich are two pipes, i.e.Currently, anything after a pipe is forever highlighted as a parameter until another pipe appears.
Which language seems to have the issue?
ruby
Are you using
highlight
orhighlightAuto
?Either one.
...
Sample Code to Reproduce
https://jsfiddle.net/oh57e1s2/
Expected behavior
Bitwise OR operator "|" should work just like any other &^~+-*/ etc.
The text was updated successfully, but these errors were encountered: