Outer class reference oddity?

Walter Bright newshound2 at digitalmars.com
Wed Aug 21 20:23:59 UTC 2024


It doesn't work because you are trying to create a multiple inheritance lookup 
situation, and that is something D avoids.

That's why qualifying it with `this` works.

May I recommend using abstract interfaces instead - they are simpler, easier to 
understand, and work.


More information about the Digitalmars-d mailing list