Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix .positional for capture parameters in signatures. masak++

  • Loading branch information...
commit 3e000895198cfdc9da98ce9ee7657febd89bcda8 1 parent c24da0b
@pmichaud pmichaud authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/core/Parameter.pm
View
2  src/core/Parameter.pm
@@ -58,7 +58,7 @@ my class Parameter {
method positional() {
nqp::p6bool(
- ($!flags +& ($SIG_ELEM_SLURPY_POS +| $SIG_ELEM_SLURPY_NAMED)) == 0 &&
+ ($!flags +& ($SIG_ELEM_SLURPY_POS +| $SIG_ELEM_SLURPY_NAMED +| $SIG_ELEM_IS_CAPTURE)) == 0 &&
nqp::isnull($!named_names)
)
}
Please sign in to comment.
Something went wrong with that request. Please try again.