Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
RT #125038 fix smart matching against m:2x/.../
  • Loading branch information
FROGGS committed May 6, 2015
1 parent 1763049 commit 240cf01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/Str.pm
Expand Up @@ -586,7 +586,7 @@ my class Str does Stringy { # declared in BOOTSTRAP
$multi = True;
if nqp::istype($x, Int) {
@matches := @matches.gimme($x) >= $x
?? @matches[^$x]
?? @matches[^$x].list
!! ().list
}
elsif nqp::istype($x, Range) {
Expand Down

0 comments on commit 240cf01

Please sign in to comment.