http://d.puremagic.com/issues/show_bug.cgi?id=2458
Andrej Mitrovic <andrej.mitrov...@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |andrej.mitrov...@gmail.com --- Comment #2 from Andrej Mitrovic <andrej.mitrov...@gmail.com> 2012-12-23 11:13:18 PST --- (In reply to comment #1) > Reduced test case a bit: > > mixin template A() { > void foo() {} > } > > void bar() { > static struct C { > mixin A!(); > }; > } That works in 2.061, however OP code still doesn't work. Also it should probably use 'typeof(this).sizeof', not '(*this).sizeof' (which gives a separate error). -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------