On Saturday, 16 March 2013 at 22:34:01 UTC, Michael wrote: > Why Dmd accepts? > > class E > { > @property public static pro(Object v) > { > > } > } > > Dmd 2.062 Win 64 It's a (mis)feature. Whenever you have an attribute it acts as if 'auto' is used if there is no return type. Personally I've never found this a useful feature.