D - bug: array concatenation
- "Pavel Minayev" <evilone omen.ru> Feb 01 2002
- "Pavel Minayev" <evilone omen.ru> Feb 01 2002
- "Walter" <walter digitalmars.com> Feb 01 2002
Try this:
char[] a = "foo", b = "bar", c = a ~ b;
It says "incompatible types ...". The same happens when ~='ing
char[] to a char[]. What's wrong?
Feb 01 2002
On other hand, this works as it should:
char[] a = "foo";
char[] b = "bar";
char[] c = a ~ b;
Seems like yet another bug related to declaring multiple
variables at once...
Feb 01 2002
It is. I need to rewrite that part of the parser. -Walter "Pavel Minayev" <evilone omen.ru> wrote in message news:a3f2os$n14$1 digitaldaemon.com...On other hand, this works as it should: char[] a = "foo"; char[] b = "bar"; char[] c = a ~ b; Seems like yet another bug related to declaring multiple variables at once...
Feb 01 2002








"Walter" <walter digitalmars.com>