Ellery Newcomer <[email protected]> wrote:

in the following:

void main(){
   char[] x;
   string s;
   string y;

   y = s ~ x;
}

tok.d(5): Error: cannot implicitly convert expression (cast(const(char)[])s ~ x) of type char[] to string

why should typeof(s ~ x) == char[] ?

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

--
Simen

Reply via email to