Skip to content

Fix missing eSink assignment in cppwin.d - #23405

Merged
thewilsonator merged 1 commit into
dlang:masterfrom
rikkimax:fix-esink-cppwin
Jul 17, 2026
Merged

Fix missing eSink assignment in cppwin.d#23405
thewilsonator merged 1 commit into
dlang:masterfrom
rikkimax:fix-esink-cppwin

Conversation

@rikkimax

Copy link
Copy Markdown
Contributor

Fixes an ICE that can be triggered due to null deref from a missing assignment in constructor.

However there is a bigger problem, if you compile dtoh_ignored.d without -o- you will get errors, that don't exist with it.
Mangler can error due to complex number types getting mangled as c++.
I won't be fixing this problem.

@thewilsonator thewilsonator left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

test case?

@rikkimax

rikkimax commented Jul 16, 2026

Copy link
Copy Markdown
Contributor Author

Compile dtoh_ignored.d without -o-.

Take a look at the code, it's a missed assignment.

EDIT: this is for the ICE, for the difference in behaviour, same test case, but it is a different cause.

@thewilsonator
thewilsonator merged commit aa971d3 into dlang:master Jul 17, 2026
41 checks passed
@rikkimax
rikkimax deleted the fix-esink-cppwin branch July 17, 2026 02:13
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