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

Bounds check before calling Array#at. #186

Merged
merged 1 commit into from
Aug 2, 2023

Conversation

yilinwei
Copy link
Collaborator

@yilinwei yilinwei commented Aug 2, 2023

No description provided.

@armanbilge
Copy link
Member

This is annoying so I started a PR to fix it, need to finish that ...

@yilinwei
Copy link
Collaborator Author

yilinwei commented Aug 2, 2023

Honestly I was quite surprised at the behaviour, I had sort of internalised it as a pointer conversion, so I expected it to return null or w/e the address is.

@yilinwei yilinwei merged commit fb6e4ae into typelevel:main Aug 2, 2023
14 checks passed
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

Successfully merging this pull request may close these issues.

None yet

2 participants