Skip to content

Comments

AA: don't require TypeInfo if compiling without it#22137

Merged
thewilsonator merged 1 commit intodlang:masterfrom
rainers:aa_no_typeinfo
Nov 24, 2025
Merged

AA: don't require TypeInfo if compiling without it#22137
thewilsonator merged 1 commit intodlang:masterfrom
rainers:aa_no_typeinfo

Conversation

@rainers
Copy link
Member

@rainers rainers commented Nov 24, 2025

This allows GDC and LDC to use AAs with -no-rtti, avoiding an error deep inside a template.

GC is still used, so a similar error is generated if disabled via -betterC.

@dlang-bot
Copy link
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.

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 "master + dmd#22137"

@thewilsonator thewilsonator merged commit e1bff7d into dlang:master Nov 24, 2025
42 checks passed
rainers added a commit to rainers/dmd that referenced this pull request Feb 1, 2026
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