Skip to content

[spec/type] Improve implicit conversions - #23556

Merged
thewilsonator merged 5 commits into
dlang:masterfrom
ntrel:implicit-convs2
Aug 9, 2026
Merged

[spec/type] Improve implicit conversions#23556
thewilsonator merged 5 commits into
dlang:masterfrom
ntrel:implicit-convs2

Conversation

@ntrel

@ntrel ntrel commented Aug 8, 2026

Copy link
Copy Markdown
Contributor

Move void array conversion info to arrays.dd and generalize it for type qualifiers.

arrays.dd:
Sliced static array elements should not be used outside the static array lifetime.
Link to class element type conversions instead of repeating info in type.dd.
Add void array conversion subheading, link to void and void arrays.

type.dd:
List struct alias this, classes, link to void array conversion, class element conversion, link to covariant function types.

@ntrel
ntrel force-pushed the implicit-convs2 branch from b9e887c to 2ac5f1b Compare August 8, 2026 07:42
arrays.dd:
Move void array conversion info to arrays.dd.
Link to class element type conversions instead of repeating info in
type.dd.
Add subheadings.

type.dd:
List struct alias this, classes, link to void array conversion,
class element conversion, link to covariant function types.
@ntrel
ntrel force-pushed the implicit-convs2 branch from 2ac5f1b to 3a96d7f Compare August 8, 2026 07:44
@ntrel
ntrel marked this pull request as draft August 9, 2026 09:52
@ntrel
ntrel marked this pull request as ready for review August 9, 2026 10:15
@thewilsonator
thewilsonator merged commit b1a324b into dlang:master Aug 9, 2026
12 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.

2 participants