[Issue 1702] ICE when identifier is undefined

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Dec 4 03:58:28 PST 2007


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





------- Comment #2 from gide at nwawudu.com  2007-12-04 05:58 -------
Agreed, I think concat operator looks like the issue, the following code also
seg faults the compiler.

void main() {
        string a = "Hello " ~ 10;
}

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


-- 



More information about the Digitalmars-d-bugs mailing list