Skip to content

Commit

Permalink
Use optional positional parameter for archetypes method
Browse files Browse the repository at this point in the history
To conform with rakudo/rakudo#4993
  • Loading branch information
vrurg committed Jul 21, 2022
1 parent f587960 commit a164dd1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Inline/Perl5/ClassHOW.pm6
Expand Up @@ -123,7 +123,7 @@ class Inline::Perl5::ClassHOW

my $archetypes := Metamodel::Archetypes.new(
:nominal(1), :inheritable(1), :augmentable(1) );
method archetypes() {
method archetypes($obj?) {
$archetypes
}

Expand Down

0 comments on commit a164dd1

Please sign in to comment.