Skip to content

Add default value for namedArg in Microsoft.Gen.Metrics.parser#6238

Merged
evgenyfedorov2 merged 2 commits intodotnet:mainfrom
BowenYang666:u/bowen/addDefault
May 27, 2025
Merged

Add default value for namedArg in Microsoft.Gen.Metrics.parser#6238
evgenyfedorov2 merged 2 commits intodotnet:mainfrom
BowenYang666:u/bowen/addDefault

Conversation

@BowenYang666
Copy link
Contributor

@BowenYang666 BowenYang666 commented Apr 3, 2025

Add default value for namedArg in Microsoft.Gen.Metrics.parser

Microsoft Reviewers: Open in CodeFlow

@dariusclay
Copy link
Member

@BowenYang666 can you describe the situation where this change fixes an issue? I'm not against the change but would like more details in the PR.

@BowenYang666
Copy link
Contributor Author

BowenYang666 commented Apr 8, 2025

@BowenYang666 can you describe the situation where this change fixes an issue? I'm not against the change but would like more details in the PR.

@dariusclay
This is to solve the build error: 'Use of unassigned local variable namedArg'. I saw this error when I open the project via visual studio. But seems building through build.cmd doesn't have this issue.

Besides that, it's my first time contributing this repo. So I'm finding some simple code that I can fix to get started.

@evgenyfedorov2 evgenyfedorov2 merged commit 901e366 into dotnet:main May 27, 2025
6 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Jun 27, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants