http://d.puremagic.com/issues/show_bug.cgi?id=8983
--- Comment #5 from Maxim Fomin <[email protected]> 2012-11-09 04:38:29 PST --- (In reply to comment #4) > (In reply to comment #3) > > > > > Even if there were no nested scope, this still would not work because > > function > > with omitted body is expected to appear in another object file: > > > > That changed recently. Now > > class A > { > void foo(); > void foo() { } > > void bar(); > mixin(q{ void bar() {} }); > } > > void main() > { > auto a = new A; > a.foo(); > a.bar(); > } > > works as expected. Do you compile it with version from git? Dmd 2.060 rejects this. When it was fixed? -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
