http://d.puremagic.com/issues/show_bug.cgi?id=3455

           Summary: Some Unicode characters not allowed in identifiers
           Product: D
           Version: unspecified
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nob...@puremagic.com
        ReportedBy: and...@metalanguage.com


--- Comment #0 from Andrei Alexandrescu <and...@metalanguage.com> 2009-10-30 
09:30:44 PDT ---
Consider:

void main() {
    auto aλ = "9";
    auto a9 = "9";
}

The first identifier is an "a" followed by this:

http://www.fileformat.info/info/unicode/char/03bb/index.htm

The second identifier is an "a" followed by this:

http://www.fileformat.info/info/unicode/char/ff19/index.htm

Both string literals contain the latter.

The second identifier does not compile, although I checked that my editor
inserted the correct three-byte UTF-8 code.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to