digitalmars.D.bugs - Is it a bug ?
- Du Liang (15/15) May 07 2009 import std.stdio;
- Jarrett Billingsley (2/3) May 07 2009 B: is a label.
- Du Liang (3/8) May 08 2009 It's not a Bug
import std.stdio; class A{ int x; struct AS{int y;} } class B:A{ } void main(){ B:A.AS as1; /// : : : : ? ? ? B : A . AS ?? as1.y = 100; writeln(as1.y); A.AS as2; as2.y = 200; writeln(as2.y); readln(); }
May 07 2009
On Thu, May 7, 2009 at 10:21 AM, Du Liang <duliang.21 163.com> wrote:=A0 =A0 =A0 =A0B:A.AS =A0 as1; =A0 /// : : : : ? ? ? =A0 B : A . AS ??B: is a label.
May 07 2009
Jarrett Billingsley Wrote:On Thu, May 7, 2009 at 10:21 AM, Du Liang <duliang.21 163.com> wrote:It's not a Bug I know ! Thanks!??? B:A.AS ?as1; ?/// : : : : ? ? ? ?B : A . AS ??B: is a label.
May 08 2009