Skip to content

Commit 54f0c34

Browse files
committed
correct our scoped methods and tell how to call them
1 parent c08a742 commit 54f0c34

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

doc/Language/typesystem.pod6

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,9 @@ X«|method (declarator)»
188188
189189
The C<method> declarator defines objects of type L<Method|/type/Method> and
190190
binds them to the provided name in the scope of a class. Methods in a class are
191-
C<our> scoped by default.
191+
C<has> scoped by default. Methods that are C<our> scoped are not added to the
192+
method cache by default and as such can not be called with the accessor sigil
193+
C<$.>. Call them with their FQN and the invocant as a first argument.
192194
193195
=head4 Inheritance and Multis
194196

0 commit comments

Comments
 (0)