Skip to content
Permalink
Browse files

Fix copy pasto, spotted by Michael Schroeder

  • Loading branch information...
lizmat committed Jun 12, 2019
1 parent a4d3853 commit 95a7866c071283fc222e2691375d0e2ce7d351b4
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/Perl6/Metamodel/BOOTSTRAP.nqp
@@ -3242,7 +3242,7 @@ BEGIN {
# Build a list of positional captures, or return a shared empty list if
# there are none. This only populates the slots which need an array.
my $EMPTY-LIST := nqp::list();
my $EMPTY-HASH := nqp::list();
my $EMPTY-HASH := nqp::hash();
method prepare-list() {
my int $n := nqp::elems(@!pos-capture-counts);
if $n > 0 {

2 comments on commit 95a7866

@mlschroe

This comment has been minimized.

Copy link
Contributor

replied Jun 13, 2019

nqp's NQPRoutine.nqp contains the same code, so you might want to fix it there as well...

@lizmat

This comment has been minimized.

Copy link
Contributor Author

replied Jun 13, 2019

Thanks! Fixed with perl6/nqp@7cccdb1

Please sign in to comment.
You can’t perform that action at this time.