deleteat!
should always throw BoundsError
if try to delete past the end
#22055
Labels
collections
Data structures holding multiple items, e.g. sets
error handling
Handling of exceptions by Julia or the user
Sometimes,
rather than throwing a
BoundsError
(which it does most of the time),deleteat!
will throw anInexactError
.This occurs because it gets to the the
ccall
and tries to convert a negative value to aUInt
in:
julia/base/array.jl
Line 883 in 62e8227
looking at the
blame
suggests the code has not changed since long before 0.5.1 was cut,so I expect issue to still be present in master
The text was updated successfully, but these errors were encountered: