Skip to content

Conversation

blegat
Copy link
Member

@blegat blegat commented Sep 19, 2020

When negative indices are set, we should set last_index to -1 so that add_item throws an error. @joaquimg
also notified me about the edge case when last_index is -1 and h is 0 where we have h == last_index + 1.

@blegat blegat added this to the v0.9.17 milestone Sep 19, 2020
@blegat blegat merged commit bc0e777 into master Sep 19, 2020
@blegat blegat deleted the bl/clever_neg_error branch September 19, 2020 22:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant