Using ()s in @property functions

BLS windevguy at hotmail.de
Tue Jun 29 09:03:38 PDT 2010


On 29/06/2010 17:44, Andrei Alexandrescu wrote:
> struct A { int x; @property ref y() { return x; } }

should be :
struct A { int x; @property ref int y() { return x; } }

or am I wrong ?
bjoern


More information about the Digitalmars-d mailing list