The syntax highlighting fails for some list comprehensions
Sample code:
fooA = [x == x | x <- [1]]
fooB = [ x | x <- [1]]
Expected:
Syntax highlighting should be equal in both lines.
Actual:
First line: Vertical Bar gets highlighted in italic font style and '1' gets highlighted in blue.
Second line: Nothing gets highlighted.
Also, I would recommend against styling the vertical bar symbol in italic, as it becomes nearly indistinguishable (depending on the font used) from the forward slash:
The syntax highlighting fails for some list comprehensions
Sample code:
Expected:
Syntax highlighting should be equal in both lines.
Actual:
First line: Vertical Bar gets highlighted in italic font style and '1' gets highlighted in blue. Second line: Nothing gets highlighted.
Also, I would recommend against styling the vertical bar symbol in italic, as it becomes nearly indistinguishable (depending on the font used) from the forward slash: