digitalmars.D.bugs - DMD 0.112 WIN32: alias bug
- marko (12/12) Feb 10 2005 struct VNode
- =?ISO-8859-15?Q?Thomas_K=FChne?= (26/26) Feb 11 2005 -----BEGIN PGP SIGNED MESSAGE-----
struct VNode
{
int a;
Node next;
}
alias VNode* Node;
void main()
{
Node n = new VNode;
}
dmd: cannot implicitly convert expression new VNode * of type VNode * to
VNode *
Feb 10 2005
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
marko wrote:
| struct VNode
| {
| int a;
| Node next;
| }
| alias VNode* Node;
|
| void main()
| {
| Node n = new VNode;
| }
|
| dmd: cannot implicitly convert expression new VNode * of type VNode *
| to VNode *
Added to DStress as
http://dstress.kuehne.cn/run/new_01.d
Thomas
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (MingW32)
iD8DBQFCDU1A3w+/yD4P9tIRAidmAKCzs3MPMtTaWArIQ9NUVR/4C9iMpACfWg0A
KrzI8adPSNLC41Q3sAsh3Fg=
=SPMJ
-----END PGP SIGNATURE-----
Feb 11 2005








=?ISO-8859-15?Q?Thomas_K=FChne?=