On Tue, 29 Jun 2010 12:03:38 -0400, BLS <windevguy at hotmail.de> wrote: > 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 You're forgetting type inference.