D - bug: array concatenation
- Pavel Minayev (4/4) Feb 01 2002 Try this:
- Pavel Minayev (6/6) Feb 01 2002 On other hand, this works as it should:
- Walter (3/9) Feb 01 2002 It is. I need to rewrite that part of the parser. -Walter
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>