http://d.puremagic.com/issues/show_bug.cgi?id=10485
--- Comment #3 from Andrej Mitrovic <[email protected]> 2013-06-27 06:50:57 PDT --- (In reply to comment #1) > this seems is a different but related bug: > > code: > ---------------------- > class TestClass{} > mixin template test(string name){ > mixin("scope " ~ name ~ " = new TestClass;" ); > } > void main(){ > mixin test!("var"); > } > --------------------- It seems to be a bug related to scope, if you change it to 'auto' it will work. You could file this as a separate bug, but since scope is guaranteed to go away soon in a future release chances are low that it will be fixed. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
