| Thread overview | |||||||
|---|---|---|---|---|---|---|---|
|
February 01, 2002 bug: array concatenation | ||||
|---|---|---|---|---|
| ||||
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?
| ||||
February 01, 2002 Re: array concatenation | ||||
|---|---|---|---|---|
| ||||
Posted in reply to Pavel Minayev | 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...
| |||
February 02, 2002 Re: array concatenation | ||||
|---|---|---|---|---|
| ||||
Posted in reply to Pavel Minayev | 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... > > > | |||
Copyright © 1999-2021 by the D Language Foundation
Permalink
Reply