Skip to content

[#5463] Clone parameter default values when inserting default-initialized arguments into method call expressions#5474

Draft
kfcripps wants to merge 1 commit intop4lang:mainfrom
kfcripps:5473
Draft

[#5463] Clone parameter default values when inserting default-initialized arguments into method call expressions#5474
kfcripps wants to merge 1 commit intop4lang:mainfrom
kfcripps:5473

Conversation

@kfcripps
Copy link
Contributor

@kfcripps kfcripps commented Feb 3, 2026

Fixes #5473.

…uments into method call expressions

Signed-off-by: Kyle Cripps <kyle@pensando.io>
@kfcripps kfcripps requested review from ChrisDodd, asl and fruffy February 3, 2026 19:25
@kfcripps kfcripps added the core Topics concerning the core segments of the compiler (frontend, midend, parser) label Feb 3, 2026
@kfcripps kfcripps requested a review from oleg-ran-amd February 3, 2026 19:27
@kfcripps
Copy link
Contributor Author

kfcripps commented Feb 5, 2026

I no longer need this, but if anyone runs into another symptom of default parameter values not being cloned, feel free to merge this

@kfcripps kfcripps marked this pull request as draft February 5, 2026 19:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

core Topics concerning the core segments of the compiler (frontend, midend, parser)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Default-initialized arguments inserted by DefaultArguments pass are not cloned

2 participants