Carl (>>), Moritz (>):
>> <masak> um, so 'protected' is when the deriving classes can see the 
>> attribute?
>> <jonalv> yup
>> <masak> that's what 'private' means in Perl 6.
>
> That's wrong. Perl 6's "private" is like Java's "private" - subclasses
> can't see it.
> It's just Rakudo being leaky at the moment, not a fallacy of the Perl 6
> language. (Yes, we have failing tests for this; no, we don't run them at
> the moment).

That is indeed reassuring. Thank you.

...So, how come Perl 6 doesn't have a 'protected' access level? :)

// Carl

Reply via email to