On Mon, 06 Oct 2014 12:17:00 +0000
Alice via Digitalmars-d-learn <digitalmars-d-learn@puremagic.com> 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 ModuleA;
  static import ModuleB;
  mixin ModuleB.MixinUsefulStuff;
  pragma(msg, "a = ", SomeData.a);

btw, do you mind to fill a bugreport?

Attachment: signature.asc
Description: PGP signature

Reply via email to