[prev in list] [next in list] [prev in thread] [next in thread]
List: perl6-language
Subject: r28932 - docs/Perl6/Spec
From: pugs-commits () feather ! perl6 ! nl
Date: 2009-10-28 17:15:09
Message-ID: 20091028171509.10939.qmail () feather ! perl6 ! nl
[Download RAW message or body]
Author: lwall
Date: 2009-10-28 18:15:09 +0100 (Wed, 28 Oct 2009)
New Revision: 28932
Modified:
docs/Perl6/Spec/S12-objects.pod
Log:
[S12] clarify that private accessors are already the most primitive form (Pm-6)
Modified: docs/Perl6/Spec/S12-objects.pod
===================================================================
--- docs/Perl6/Spec/S12-objects.pod 2009-10-28 17:03:04 UTC (rev 28931)
+++ docs/Perl6/Spec/S12-objects.pod 2009-10-28 17:15:09 UTC (rev 28932)
@@ -13,8 +13,8 @@
Created: 27 Oct 2004
- Last Modified: 19 Oct 2009
- Version: 90
+ Last Modified: 28 Oct 2009
+ Version: 91
=head1 Overview
@@ -1286,6 +1286,11 @@
}
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
+object is being referred to. Hence, the private accessor notation
+may be agressively inlined for simple attributes, and no simpler
+notation is needed for accessing another object's private attributes.
The C<sub> keyword is optional immediately after a C<proto>, C<multi>,
or C<only> keyword.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic