[Issue 506] static import and renamed import of mixin don't work
    d-bugmail at puremagic.com 
    d-bugmail at puremagic.com
       
    Sun Nov 26 01:06:23 PST 2006
    
    
  
http://d.puremagic.com/issues/show_bug.cgi?id=506
bugzilla at digitalmars.com changed:
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID
------- Comment #1 from bugzilla at digitalmars.com  2006-11-26 03:06 -------
mixins are defined to be evaluated in the scope of where they are mixed in,
rather than where they are declared. Hence the behavior you're seeing. To
evaluate it in the context where it is declared, use a struct. It's working as
designed. To change it, please submit an enhancement request.
-- 
    
    
More information about the Digitalmars-d-bugs
mailing list