Skip to content

Commit

Permalink
Pass on expires properly to Supply.uniq
Browse files Browse the repository at this point in the history
  • Loading branch information
lizmat committed Apr 23, 2014
1 parent 261f440 commit 5d8225a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/core/SupplyOperations.pm
Expand Up @@ -135,7 +135,7 @@ my class SupplyOperations is repr('Uninstantiable') {
has &!with;
has $!expires;

submethod BUILD(:$!source, :&!as, :&!with, :$expires) { }
submethod BUILD(:$!source, :&!as, :&!with, :$!expires) { }

method tap(|c) {
my $source_tap;
Expand Down Expand Up @@ -255,7 +255,7 @@ my class SupplyOperations is repr('Uninstantiable') {
$sub
}
}
UniqSupply.new(:source($a), :&as, :&with);
UniqSupply.new(:source($a), :&as, :&with, :$expires);
}

method squish(Supply $a, :&as, :&with is copy) {
Expand Down

0 comments on commit 5d8225a

Please sign in to comment.