Hi! Is it a bug?
class Foo { int m_bar; char m_gun; @property auto ref opDispatch(string s)() { return mixin("m_"~s); } this(int i,char c) {bar = i;//Error: undefined identifier bar, did you mean variable m_bar?
this.gun = c; } }
Hi! Is it a bug?
class Foo { int m_bar; char m_gun; @property auto ref opDispatch(string s)() { return mixin("m_"~s); } this(int i,char c) {bar = i;//Error: undefined identifier bar, did you mean variable m_bar?
this.gun = c; } }