On 23.12.2012 14:20, Zhenya wrote:@property const ref int bar() constThe first const does not bind to the return type, but to the whole declaration, so it does the same as the const at the end. You should use@property ref const(int) bar() const
Thank you very much!