Is this allowed by the language or it is a compiler bug ?
void main() { char[] a = "abc".dup; ubyte[] b = [1, 2, 3];a = b; // cannot implicitly convert expression (b) of type ubyte[] to char[]
a ~= b; // works }
skilion via Digitalmars-d-learn Sun, 04 Oct 2015 09:16:19 -0700
Is this allowed by the language or it is a compiler bug ?
void main() { char[] a = "abc".dup; ubyte[] b = [1, 2, 3];a = b; // cannot implicitly convert expression (b) of type ubyte[] to char[]
a ~= b; // works }