-
-
Notifications
You must be signed in to change notification settings - Fork 636
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
[REG2.111] Indexing a *cast* AA yields no lvalue anymore #21020
Labels
Severity:Regression
PRs that fix regressions
Comments
AFAICT, the problem is that in dmd/compiler/src/dmd/expression.d Lines 3629 to 3636 in 62a48a5
e1.type.mutableOf.unSharedOf().equals(to.mutableOf().unSharedOf()) fails for e1.type = shared(int[int]) and to.type = int[int] (e1.isLvalue() is true).
Edit: Ah, |
kinke
added a commit
to kinke/dmd
that referenced
this issue
Mar 18, 2025
thewilsonator
pushed a commit
that referenced
this issue
Mar 18, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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: