Need help with accessing outer object

Cherry via Digitalmars-d digitalmars-d at puremagic.com
Mon Aug 29 21:21:36 PDT 2016


How about having traits like hasOuter and getOuter (analogous to 
hasMember and getMember)?

I can give it a shot to add these traits to D compiler. But would 
such a pull request be accepted? I mean of course the code in the 
pull-request has to meet review expectations, but would such a PR 
be accepted from required feature perspective?


More information about the Digitalmars-d mailing list