[Issue 1269] New: Compiler crash on constant string concat

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Jun 16 06:44:43 PDT 2007


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

           Summary: Compiler crash on constant string concat
           Product: D
           Version: 1.014
          Platform: PC
        OS/Version: Windows
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: bugzilla at digitalmars.com
        ReportedBy: jascha at mainia.de


import std.string;

const uint      VERSION_MAJOR = 0,
                VERSION_MINOR = 10,
                VERSION_PATCH = 2;
const char[]    VERSION_STRING =    "Ddbg
"~.toString(VERSION_MAJOR)~"."~(VERSION_MINOR>9?"":"0")~.toString(VERSION_MINOR)
                                   
~(VERSION_PATCH>0?"."~.toString(VERSION_PATCH):"")~" beta";
void main() {}


-- 



More information about the Digitalmars-d-bugs mailing list