[Issue 1916] dmd ice on invalid string concat

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Apr 1 05:57:41 PDT 2009


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





------- Comment #2 from clugdbug at yahoo.com.au  2009-04-01 07:57 -------
Only segfaults on D2.

fog.d(2): Error: incompatible types for ((1) ~ (" foo?")): 'int' and
'immutable(
char)[]'
fog.d(2): Error: Can only concatenate arrays, not (int ~ immutable(char)[])
fog.d(2): Error: cannot implicitly convert expression ("\x01 foo?") of type int
to immutable(char)[]
[SEGFAULT]


-- 



More information about the Digitalmars-d-bugs mailing list