http://d.puremagic.com/issues/show_bug.cgi?id=10652
Summary: Mixins doesn't evaluate on cross imports Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: major Priority: P2 Component: DMD AssignedTo: nob...@puremagic.com ReportedBy: temta...@gmail.com --- Comment #0 from Temtaime <temta...@gmail.com> 2013-07-16 03:36:46 PDT --- A.d: import B; T var; B.d: import A; mixin(`alias T = int;`); Expected result: T is int variable, code compiles OK Compiler gives on compiling B.d: Error: undefined identifier T If i change mixin(`alias T = int;`); to simple code alias T = int; Then it's compiles. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------