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
This works with v2.110.0, but fails to compile with v2.111.0-beta.1:
shared struct Queue { int[int] map; } void main() { auto queue = Queue(); (cast(int[int]) queue.map)[1] = 2; assert(queue.map[1] == 2); }
bug.d(9): Error: cannot modify expression `(cast(int[int])queue.map)[1]` because it is not an lvalue
The text was updated successfully, but these errors were encountered:
No branches or pull requests
This works with v2.110.0, but fails to compile with v2.111.0-beta.1:
The text was updated successfully, but these errors were encountered: