www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - bug http://www.digitalmars.com/d/cpptod.html#properties

Bug on mentioned subpage.

is:
Abc a;
a.property = 3;		// equivalent to a.property(3)
int x = a.property;	// equivalent to int x = a.property()

should be:
Abc a=new Abc;
a.property = 3;		// equivalent to a.property(3)
int x = a.property;	// equivalent to int x = a.property()

Peter Modzelewski
www.keyer.team0xf.com
Jan 27 2007