Skip to content

Harden parameter name selection in the funcletizer#37479

Merged
roji merged 1 commit intodotnet:mainfrom
roji:ParameterName
Jan 12, 2026
Merged

Harden parameter name selection in the funcletizer#37479
roji merged 1 commit intodotnet:mainfrom
roji:ParameterName

Conversation

@roji
Copy link
Member

@roji roji commented Jan 10, 2026

Following #37474, add a failesafe check that if the final parameter (before uniquification) contains any problematic character (not letter, digit or underscore), fall back to calling it p. This should prevent any sort of query failure in case our logic for dealing with compiler-generated names is somehow imprecise.

Also do some minor tidying up.

@roji roji requested a review from a team as a code owner January 10, 2026 18:01
Copilot AI review requested due to automatic review settings January 10, 2026 18:01
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

@roji roji enabled auto-merge (squash) January 12, 2026 15:49
@roji roji merged commit d52eb38 into dotnet:main Jan 12, 2026
12 of 13 checks passed
@roji roji deleted the ParameterName branch January 12, 2026 22:06
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.

3 participants