digitalmars.D.bugs - [Issue 11119] New: Alias declaration cannot see forward-referenced symbol in mixed-in template
- d-bugmail puremagic.com (40/40) Sep 24 2013 http://d.puremagic.com/issues/show_bug.cgi?id=11119
http://d.puremagic.com/issues/show_bug.cgi?id=11119 Summary: Alias declaration cannot see forward-referenced symbol in mixed-in template Product: D Version: D2 Platform: All OS/Version: All Status: NEW Keywords: rejects-valid Severity: normal Priority: P2 Component: DMD AssignedTo: nobody puremagic.com ReportedBy: andrej.mitrovich gmail.com 15:45:22 PDT --- ----- module test; struct K { mixin templ; alias a = foo; // ok } struct F { alias a = foo; // fail mixin templ; } mixin template templ() { void foo() { } } void main() { } ----- $ dmd test.d test.d(11): Error: undefined identifier foo It does not appear to be a regression, but it might be a duplicate of some other bug (?). -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Sep 24 2013