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[] ?
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[] ?