Skip to content

Comments

fix regression in #21066 issuing deprecation message about immutable …#22208

Merged
thewilsonator merged 1 commit intodlang:masterfrom
rainers:fx_reg21066
Dec 9, 2025
Merged

fix regression in #21066 issuing deprecation message about immutable …#22208
thewilsonator merged 1 commit intodlang:masterfrom
rainers:fx_reg21066

Conversation

@rainers
Copy link
Member

@rainers rainers commented Dec 9, 2025

…keys being cast to non-immutable.

Avoid adding the cast for implicitly convertible expressions.

…able keys being cast to non-immutable.

Avoid adding the cast for implicitly convertable expressions.
@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#22208"

@rainers
Copy link
Member Author

rainers commented Dec 9, 2025

See #21066 (comment) for details.

FYI @kinke

@thewilsonator thewilsonator merged commit c31f959 into dlang:master Dec 9, 2025
42 checks passed
@kinke
Copy link
Contributor

kinke commented Dec 9, 2025

Thx Rainer!

@tim-dlang
Copy link
Contributor

It looks like this introduced a regression: #22281

@kinke
Copy link
Contributor

kinke commented Feb 11, 2026

And another one: #22560

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.

5 participants