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

Handle iterators introduced in Go 1.23 #287

Open
yuxincs opened this issue Oct 10, 2024 · 0 comments
Open

Handle iterators introduced in Go 1.23 #287

yuxincs opened this issue Oct 10, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@yuxincs
Copy link
Contributor

yuxincs commented Oct 10, 2024

Go 1.23 introduced iterators, which NilAway does not support yet. This issue tracks such support.

Initially, we should at least assume these are deeply nonnil without panicking.

yuxincs added a commit that referenced this issue Oct 10, 2024
NilAway is panicking on code that ranges over iterators. This PR adds
initial handling for such that we assume the results from the iterators
are always nonnil, without panicking.

See #287
@yuxincs yuxincs added the enhancement New feature or request label Oct 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant