Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #532 from usev6/rt124204
Remove stringification when using :&as parameter for .squish
  • Loading branch information
niner committed Sep 16, 2015
2 parents 3fa29b7 + 24931c4 commit d3f71ac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/core/Any-iterable-methods.pm
Expand Up @@ -653,9 +653,9 @@ augment class Any {
proto method squish(|) is nodal {*}
multi method squish( :&as!, :&with = &[===] ) {
my $last = @secret;
my str $which;
my $which;
my \res := gather self.map: {
$which = &as($_).Str;
$which = &as($_);
unless with($which,$last) {
$last = $which;
take $_;
Expand Down

0 comments on commit d3f71ac

Please sign in to comment.