We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
unittest { UnrolledList!int list; list.insert(0); list.insert(0); list.insert(0); list.insert(0); list.insert(0); foreach(ref it; list.range) { it = 1; } foreach(it; list.range) { assert(it == 1); } }
I think UnrolledList!int.Range.front needs to return ref int . But ref is sort of f*** up so I can't simple cast to ref int. @Hackerpilot ideas?
p.s. This only affects value types. p.s.s HashMap is also affected
The text was updated successfully, but these errors were encountered:
3924c31
Hackerpilot
Successfully merging a pull request may close this issue.
I think UnrolledList!int.Range.front needs to return ref int . But ref is sort of f*** up so I can't simple cast to ref int. @Hackerpilot ideas?
p.s. This only affects value types.
p.s.s HashMap is also affected
The text was updated successfully, but these errors were encountered: