Carl Mäsak wrote:
> <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).

Moritz

Reply via email to