http://d.puremagic.com/issues/show_bug.cgi?id=7372


Walter Bright <bugzi...@digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |bugzi...@digitalmars.com
         Resolution|                            |INVALID


--- Comment #1 from Walter Bright <bugzi...@digitalmars.com> 2012-01-26 
12:25:59 PST ---
This is not a bug.

>From the spec: "Unlike a template instantiation, a template mixin's body is
evaluated within the scope where the mixin appears, not where the template
declaration is defined."

The default for imports is private, so m1.bug is not visible to m.C.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to