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

List Type: inconsistency in error feedback #15

Closed
dmonad opened this issue Mar 23, 2015 · 0 comments
Closed

List Type: inconsistency in error feedback #15

dmonad opened this issue Mar 23, 2015 · 0 comments

Comments

@dmonad
Copy link
Member

dmonad commented Mar 23, 2015

@cphyc noticed the following inconsistency:
And their may be some inconsistency in the List.val function, when you try to retrieve a negative index, it throws an error Error: this position does not exist
But when you try to get any index > 0, their's no error even though the index is undefined (then you get the last index of your array)

Note to me:
I've to check every "public" method for valid input parameters. I'll close this when I did..

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

No branches or pull requests

1 participant