digitalmars.D.bugs - [Issue 10652] New: Mixins doesn't evaluate on cross imports
- d-bugmail puremagic.com (31/31) Jul 16 2013 http://d.puremagic.com/issues/show_bug.cgi?id=10652
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: nobody puremagic.com ReportedBy: temtaime gmail.com 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: -------
Jul 16 2013