Re: Template Mixin Conflicts

2014-10-08 Thread Alice via Digitalmars-d-learn
Thanks for your help guys. The workarounds will do for now. The bug is here: https://issues.dlang.org/show_bug.cgi?id=13587

Re: Template Mixin Conflicts

2014-10-06 Thread Ali Çehreli via Digitalmars-d-learn
On 10/06/2014 05:50 AM, ketmar via Digitalmars-d-learn wrote: On Mon, 06 Oct 2014 12:17:00 + Alice via Digitalmars-d-learn wrote: the joy of mixin bugs, yeah! it's a bug in compiler: it instantiates mixin in invalid scope. for now you can use string mixins, they are working fine. you also

Re: Template Mixin Conflicts

2014-10-06 Thread Alice via Digitalmars-d-learn
btw, do you mind to fill a bugreport? Okay, will do so once I get home from work. Thanks for the scope tip. Will try that out later too.

Re: Template Mixin Conflicts

2014-10-06 Thread ketmar via Digitalmars-d-learn
On Mon, 06 Oct 2014 12:17:00 + Alice via Digitalmars-d-learn wrote: the joy of mixin bugs, yeah! it's a bug in compiler: it instantiates mixin in invalid scope. for now you can use string mixins, they are working fine. you also can use this to fix scoping: === ModuleA.d === module Module

Re: Template Mixin Conflicts

2014-10-06 Thread Alice via Digitalmars-d-learn
And just this second I found this... but it's a few months old and has no follow up. http://forum.dlang.org/thread/mailman.1054.1398548687.2763.digitalmars-d-b...@puremagic.com On Monday, 6 October 2014 at 12:17:01 UTC, Alice wrote: Hi, I've created a template mixin which contains a struct