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:

val character1 = 'a'; val character2 = 'b'
val symbol1 = 'a; val symbol2 = 'b
Submitted on 14 April 2013 at 22:16

Log in to post comments