Proposal keyword 'outer'

Bruno Medeiros brunodomedeirosATgmail at SPAM.com
Sun Jun 25 08:17:56 PDT 2006


Tom S wrote:
> Bruno Medeiros wrote:
>> Seems an ok proposal for outer classes.
>> But as for mixins that doesn't make sense, the scope they access is 
>> already the scope of the instantiation.
> 
> That's the point. The rules for mixins must change as they are 
> inconsistent and error prone at the moment. IMO they should only be 
> granted access to the outer scope thru the 'outer' keyword and by 
> default only see the scope of their declaration.
> 
> 

Ok, but then that's a whole other issue altogether.


-- 
Bruno Medeiros - CS/E student
http://www.prowiki.org/wiki4d/wiki.cgi?BrunoMedeiros#D



More information about the Digitalmars-d mailing list