Scala symbol literal syntax highlighting issue
The symbol literal synatx to create Scala symbols (see Scala Language
Specification §1.3.7) is not correctly recognized by the syntax highlighting mechanism. The initial quote character is not seen as the beginning of a symbol literal, but as the first delimiter of a character literal.
For example, you can see the issue using the following two lines of Scala code in the editor with syntax highlighting:Submitted on 14 April 2013 at 22:16
val character1 = 'a'; val character2 = 'b' val symbol1 = 'a; val symbol2 = 'b
Log in to post comments