Skip to content

Conversation

@som-snytt
Copy link
Contributor

@som-snytt som-snytt commented Dec 16, 2025

Fixes #24698

In new C(x) where x is a param accessor and the ctor parameter is also x, don't take the reference to x as a "usage".

@som-snytt
Copy link
Contributor Author

Probably my browser privacy settings break github. It autocompleted correctly for a split second.

image

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.

Warn on unused given in class that only used for contructing the same class

1 participant