Skip to content

Fix #23182 - Duplicate __aaget declaration for simple expression with associative array#23189

Merged
rikkimax merged 1 commit into
dlang:stablefrom
rainers:issue_23182
May 30, 2026
Merged

Fix #23182 - Duplicate __aaget declaration for simple expression with associative array#23189
rikkimax merged 1 commit into
dlang:stablefrom
rainers:issue_23182

Conversation

@rainers
Copy link
Copy Markdown
Member

@rainers rainers commented May 29, 2026

The underlying issue exists forever: arrExp should not be evaluated twice in arrExp.length++ if non-trivial

… with associative array

don't evaluate arrExp twice in `arrExp.length++` if non-trivial
@dlang-bot
Copy link
Copy Markdown
Contributor

Thanks for your pull request, @rainers!

Bugzilla references

Your PR doesn't reference any Bugzilla issue.

If your PR contains non-trivial changes, please reference a Bugzilla issue or create a manual changelog.

⚠️⚠️⚠️ Warnings ⚠️⚠️⚠️

  • In preparation for migrating from Bugzilla to GitHub Issues, the issue reference syntax has changed. Please add the word "Bugzilla" to issue references. For example, Fix Bugzilla Issue 12345 or Fix Bugzilla 12345.(Reminder: the edit needs to be done in the Git commit message, not the GitHub pull request.)

Testing this PR locally

If you don't have a local development environment setup, you can use Digger to test this PR:

dub run digger -- build "stable + dmd#23189"

@rikkimax rikkimax merged commit 204f374 into dlang:stable May 30, 2026
78 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants