Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Correctly deal with slurpy hashes in Signature.ACCEPTS.
  • Loading branch information
peschwa committed Dec 8, 2015
1 parent 2f0d38a commit 62a029b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/core/Signature.pm
Expand Up @@ -58,7 +58,9 @@ my class Signature { # declared in BOOTSTRAP
}

my $here=$sclass{True}.SetHash;
my $hasslurpy=($sclass{True} // ()).grep({.slurpy}).Bool;
my $hasslurpy=($sclass{True} // ()).grep({.slurpy});
$here{$hasslurpy} :delete;
$hasslurpy .= Bool;
for flat @($tclass{True} // ()) -> $other {
my $this;

Expand Down

0 comments on commit 62a029b

Please sign in to comment.