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

implementation of last doesn't consider empty array #9

Closed
taonos opened this issue Aug 26, 2015 · 1 comment
Closed

implementation of last doesn't consider empty array #9

taonos opened this issue Aug 26, 2015 · 1 comment

Comments

@taonos
Copy link

taonos commented Aug 26, 2015

Current implementation will crash if the array is empty. Obviously the test code doesn't cover this edge case.

@guidomb
Copy link

guidomb commented Aug 26, 2015

Yeah you were right. Thanks for reporting!

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

2 participants