February 10, 2005 DMD 0.112 WIN32: alias bug | ||||
---|---|---|---|---|
| ||||
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 * |
February 12, 2005 Re: DMD 0.112 WIN32: alias bug | ||||
---|---|---|---|---|
| ||||
Posted in reply to marko Attachments: | 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 |
Copyright © 1999-2021 by the D Language Foundation