Closed alexnask closed 8 years ago
Removing the checkIndex call seems like the right thing to do, as the negative index needs to be re-checked.
@shamanas what if index < -_size
?
edit: I can't read. Yeah I guess someone forgot to remove the checkIndex call
Sure, removing the checkIndex call and leaving the second if is my proposal.
Then, if index < -_size, it is still caught, as well as the index >= _size check that is done twice.
sounds good