[Issue 8782] New: D lexer do not understand unicode char … for variadic

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Oct 8 04:49:09 PDT 2012


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

           Summary: D lexer do not understand unicode char … for variadic
           Product: D
           Version: D1 & D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody at puremagic.com
        ReportedBy: bioinfornatics at gmail.com


--- Comment #0 from bioinfornatics <bioinfornatics at gmail.com> 2012-10-08 04:31:10 PDT ---
D lexer do not understand unicode char … for variadic.

from some keayboard layout is faster to write … than ...
________________________________________

import std.stdio;
import std.algorithm;
import std.array;

void main( ){
    immutable int[] a = [4, 6, 1, 2,];
    immutable int[] b = cast(immutable) a.dup
                .sort!( (x,y) => x < y )
                .array;
    writeln( b );
}

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


More information about the Digitalmars-d-bugs mailing list