Aladdin - Scala Bugtracking
[#912] project: documentation priority: low category: bug
submitter assigned to status date submitted
Nikolay Martin fixed 2007-01-28 22:38:12.0
subject [contrib #307] Special characters not clearly defined
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
}
what happened
what expected
[back to overview]
Changes of this bug report
Nikolay  edited on  2007-01-28 23:00:18.0
contribution #307
Martin  edited on  2007-01-29 16:58:57.0