Author: moritz Date: 2010-03-23 21:13:55 +0100 (Tue, 23 Mar 2010) New Revision: 30180
Modified: docs/Perl6/Spec/S12-objects.pod Log: [S12] document that "trusts" traits do not extend to child classes, as per TimToady++ Modified: docs/Perl6/Spec/S12-objects.pod =================================================================== --- docs/Perl6/Spec/S12-objects.pod 2010-03-23 19:26:33 UTC (rev 30179) +++ docs/Perl6/Spec/S12-objects.pod 2010-03-23 20:13:55 UTC (rev 30180) @@ -1308,6 +1308,9 @@ ... } +The trust really only applies to C<MyClass>, not to possible subclasses +thereof. + The syntax for calling back to C<MyClass> is C<$obj!MyClass::meth()>. Note that private attribute accessors are always invoked directly, never via a dispatcher, since there is never any question about which