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.nth may raise Invalid_argument #4055

Closed
vicuna opened this issue Jun 28, 2006 · 2 comments
Closed

List.nth may raise Invalid_argument #4055

vicuna opened this issue Jun 28, 2006 · 2 comments

Comments

@vicuna
Copy link

vicuna commented Jun 28, 2006

Original bug ID: 4055
Reporter: pascal_cuoq
Status: closed (set by @damiendoligez on 2006-08-29T15:24:12Z)
Resolution: fixed
Priority: normal
Severity: minor
Version: 3.09.1
Category: documentation

Bug description

List.nth may raise (Invalid_argument "List.nth") under some circumstances.
This is not documented.

In addition :
The circumstances mentionned above are not as simple as they should.
With the current implementation, the integer must be strictly negative and the list must be
non-empty for Invalid_argument to be raise.

@vicuna
Copy link
Author

vicuna commented Aug 29, 2006

Comment author: @damiendoligez

will be fixed in 3.10.0

@vicuna vicuna closed this as completed Aug 29, 2006
@vicuna
Copy link
Author

vicuna commented Sep 11, 2006

Comment author: @damiendoligez

fixed for 3.10

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