Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Removing from an empty skiplist panics #3

Open
anacrolix opened this issue Dec 3, 2014 · 0 comments
Open

Removing from an empty skiplist panics #3

anacrolix opened this issue Dec 3, 2014 · 0 comments

Comments

@anacrolix
Copy link

If I call Remove on a skiplist with no items, there's a panic

panic: runtime error: index out of range

github.com/glenn-brown/skiplist.(*T).Remove(0xc208036140, 0x4fbf80, 0xc20800a4d0, 0xc20800a4d0)
/home/matt/gopath/src/github.com/glenn-brown/skiplist/skiplist.go:262 +0x1ad

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant