Skip to content

Commit 8f2fa9f

Browse files
committed
index role (typesystem)
1 parent f7eeb52 commit 8f2fa9f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

doc/Language/typesystem.pod6

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -493,6 +493,7 @@ C<.^ver> and C<^.auth>.
493493
494494
=head2 C<role>
495495
496+
X<|declarator,role (typesystem)>
496497
Roles are class fragments, which allow the definition of interfaces that are
497498
shared by classes. The C<role> declarator also introduces a type object that
498499
can be used for type checks. Roles can be mixed into classes and objects at

0 commit comments

Comments
 (0)