Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Remove stringification when using :&as parameter for .squish
Fixes RT #124204
  • Loading branch information
usev6 committed Sep 15, 2015
1 parent 7662c46 commit 24931c4
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 24931c4

Please sign in to comment.