[Issue 2910] New: ~= can append array literals to strings.

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Apr 29 07:31:29 PDT 2009


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

           Summary: ~= can append array literals to strings.
           Product: D
           Version: 2.029
          Platform: PC
        OS/Version: Windows
            Status: NEW
          Keywords: accepts-invalid
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: bugzilla at digitalmars.com
        ReportedBy: clugdbug at yahoo.com.au


void main()
{
   char [] s;
   s ~= [0x313233L, 0x44];
}

D2 only, D1 correctly rejects it.


-- 



More information about the Digitalmars-d-bugs mailing list