Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Clarifications for RolePunning refs #1306
  • Loading branch information
JJ committed Mar 27, 2019
1 parent 805fccc commit 70630a8
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions doc/Type/Metamodel/RolePunning.pod6
Expand Up @@ -4,11 +4,12 @@
=SUBTITLE Metaobject that supports I<punning> of roles.
role Metamodel::RolePunning {}
role Perl6::Metamodel::RolePunning {}
Implements the ability to create objects from C<Role>s without the intermediate
need to use a class. Not intended to be used directly (will in fact error if
it's C<use>d), but via punning of roles, as below.
it's C<use>d), but via punning of roles, as below. This is also Rakudo specific
and not part of the spec.
=for code
role A {
Expand Down

0 comments on commit 70630a8

Please sign in to comment.