code |
This is one of a few issues reporting minor concerns regarding The Scala Language Specification, as supplied with 2.3.3.
Section 1.1 (Identifiers) Missing definition of Special
I suspect that "special" characters are to be understood as "6. Operator characters" from the page before. If this is correct, perhaps the same name could be used in both places: the page before could have "6. Special characters"
Note that this excludes delimiter characters from "special", thus the definition of special in Chapter A (Scala Syntax Summary) may need updating.
The compiler rejects delimiter characters - at least apart from ',' - in operator and other identifier names.
The following currently compiles. I haven't investigates why.
object IdentifierTest
{
val +,* = 1
val f,g = 2
}
|