Skip to content
Permalink
Browse files

Make my int @A[2] = 1,2,3 error with the right message

This was basically a copy-pasto.
  • Loading branch information...
lizmat committed Dec 9, 2018
1 parent dd3f91a commit fd216fec4ab3de8ad0584b3fe664ed5c6cb7141a
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/native_array.pm6
@@ -1982,7 +1982,7 @@ my class array does Iterable {
),
nqp::unless(
nqp::islt_i($i,$elems) || iter.is-lazy,
nqp::atpos_i(list,$i) # too many values on non-lazy it
nqp::atpos_i(self,$i) # too many values on non-lazy it
),
self
)

0 comments on commit fd216fe

Please sign in to comment.
You can’t perform that action at this time.