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


Walter Bright <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |[email protected]
         Resolution|                            |INVALID


--- Comment #1 from Walter Bright <[email protected]> 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