[Issue 1702] New: ICE when identifier is undefined

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Nov 30 03:41:18 PST 2007


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

           Summary: ICE when identifier is undefined
           Product: D
           Version: 2.008
          Platform: PC
        OS/Version: All
            Status: NEW
          Keywords: ice-on-invalid-code
          Severity: normal
          Priority: P3
         Component: DMD
        AssignedTo: bugzilla at digitalmars.com
        ReportedBy: gide at nwawudu.com


hello.d
-------
void main() {
        string a = "Hello " ~ unknownVariable;
}

$ dmd hello.d
hello.d(2): Error: undefined identifier unknownVariable
hello.d(2): Error: incompatible types for (("Hello ") ~ (unknownVariable)):
'invariant(char[6u])' and 'int'
Segmentation fault


-- 



More information about the Digitalmars-d-bugs mailing list