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

Mutation through IndexedVector iterator will produce wrong results. #43

Open
mbudiu-bfn opened this issue May 6, 2016 · 0 comments
Open
Labels
bug This behavior is unintended and should be fixed. core Topics concerning the core segments of the compiler (frontend, midend, parser)

Comments

@mbudiu-bfn
Copy link
Contributor

mbudiu-bfn commented May 6, 2016

The iterator of the IndexedVector can be used for reading; however, overwriting an element through the iterator will result in an inconsistent IndexedVector (the replace method can be used to achieve the desired effect).

@mbudiu-bfn mbudiu-bfn added the bug This behavior is unintended and should be fixed. label May 6, 2016
@fruffy fruffy added the core Topics concerning the core segments of the compiler (frontend, midend, parser) label Mar 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This behavior is unintended and should be fixed. core Topics concerning the core segments of the compiler (frontend, midend, parser)
Projects
None yet
Development

No branches or pull requests

2 participants