Skip to content

Commit

Permalink
Fix signature of Parameter.BUILD
Browse files Browse the repository at this point in the history
  • Loading branch information
Kaiepi committed Jan 14, 2020
1 parent 9b29bcc commit 68808c5
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions src/core.c/Parameter.pm6
Expand Up @@ -90,15 +90,15 @@ my class Parameter { # declared in BOOTSTRAP
}

submethod BUILD(
Str:D $name is copy = "",
Int:D $flags is copy = 0,
Bool:D $named is copy = False,
Bool:D $optional is copy = False,
Bool:D $mandatory is copy = False,
Bool:D $is-copy = False,
Bool:D $is-raw = False,
Bool:D $is-rw = False,
Bool:D $multi-invocant = True,
Str:D :$name is copy = "",
Int:D :$flags is copy = 0,
Bool:D :$named is copy = False,
Bool:D :$optional is copy = False,
Bool:D :$mandatory is copy = False,
Bool:D :$is-copy = False,
Bool:D :$is-raw = False,
Bool:D :$is-rw = False,
Bool:D :$multi-invocant = True,
*%args # type / default / where / sub_signature captured through %_
) {

Expand Down

0 comments on commit 68808c5

Please sign in to comment.