Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Add one more Int coercer, just in case
  • Loading branch information
lizmat committed Jul 10, 2015
1 parent 1b537b9 commit ae32e12
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/List.pm
Expand Up @@ -407,7 +407,7 @@ my class List does Positional { # declared in BOOTSTRAP
?? $offset($elems)
!! nqp::istype($offset,Whatever)
?? $elems
!! $offset;
!! $offset.Int;
X::OutOfRange.new(
:what<Offset argument to List.splice>,
:got($o),
Expand Down

0 comments on commit ae32e12

Please sign in to comment.