bug @ http://www.digitalmars.com/d/cpptod.html#properties

Peter Modzelewski peter.modzelewski at gmail.com
Sat Jan 27 10:47:48 PST 2007


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


More information about the Digitalmars-d-bugs mailing list