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
Cannot access additional components while iterating query #135
Comments
If you know for certain that your loop will never access the same component as your |
OK. Got it. :-) Thanks. |
What about tags? There is no |
There is no need for a |
The problem stays. I cannot have a second, immutable borrow, while already having world borrowed mutably by Query Iterator. |
You need to use |
Oh sorry. It works indeed if I use I don't know why it didn't compile previously, as I cannot reproduce it now. |
Before 3ee0bb9 change the following code (edited for brevity) used to work:
After 3ee0bb9 it fails to compile:
Is this access pattern not supported by Legion?
If so, what is the designed use of
read/write_component()
function?Any tips on changing my code?
The text was updated successfully, but these errors were encountered: