Skip to content

fix #22480 - Regression in DMD v2.112, betterC can not work with CTFE associative array any more#22488

Merged
thewilsonator merged 2 commits into
dlang:stablefrom
rainers:issue22480
Feb 2, 2026
Merged

fix #22480 - Regression in DMD v2.112, betterC can not work with CTFE associative array any more#22488
thewilsonator merged 2 commits into
dlang:stablefrom
rainers:issue22480

Conversation

@rainers

@rainers rainers commented Feb 1, 2026

Copy link
Copy Markdown
Member
  • don't abort if arrays are used with betterC, just skip code generation of the function as with other allocations
  • don't require TypeInfo in array lowerings if compiling without it

The first commit was picked from master.

… CTFE associative array any more

don't abort if arrays are used with betterC, just skip code generation of the function as with other allocations
don't require TypeInfo in array lowerings if compiling without it
@dlang-bot

Copy link
Copy Markdown

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#22488"

@thewilsonator thewilsonator merged commit 903a7af into dlang:stable Feb 2, 2026
88 of 91 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.

3 participants