Skip to content

Check for discarded aggregate == expression#23113

Merged
thewilsonator merged 4 commits into
dlang:masterfrom
ntrel:discard-opEquals
May 10, 2026
Merged

Check for discarded aggregate == expression#23113
thewilsonator merged 4 commits into
dlang:masterfrom
ntrel:discard-opEquals

Conversation

@ntrel
Copy link
Copy Markdown
Contributor

@ntrel ntrel commented May 9, 2026

Fixes #22423.

@ntrel ntrel force-pushed the discard-opEquals branch from deb9050 to df1c69e Compare May 9, 2026 11:31
@ntrel ntrel marked this pull request as draft May 9, 2026 11:33
Comment thread compiler/src/dmd/expression.d
@ntrel ntrel force-pushed the discard-opEquals branch from df1c69e to f8b745b Compare May 9, 2026 14:08
Comment thread compiler/src/dmd/expression.d
@ntrel ntrel force-pushed the discard-opEquals branch from 900396b to f370fca Compare May 9, 2026 14:20
@ntrel ntrel marked this pull request as ready for review May 9, 2026 14:21
@ntrel ntrel requested a review from ibuclaw as a code owner May 9, 2026 14:21
@thewilsonator thewilsonator merged commit 3eeb948 into dlang:master May 10, 2026
42 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.

Disallow discarded EqualExpression for a struct with opEquals

2 participants