Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix superfluous fields when converting composed types to wrapper types. #5657

Merged
merged 2 commits into from
Oct 22, 2024

Conversation

andrueastman
Copy link
Member

@andrueastman andrueastman commented Oct 22, 2024

Fixes #4178
Fixes #4478

In the event that a union type was converted to a wrapper type, the CommonLanguage refiner would not check if the type was already present in the namespace. It therefore went ahead to add the same properties over and over whenever ConvertComposedTypeToWrapper is called.

Copy link

sonarcloud bot commented Oct 22, 2024

@andrueastman andrueastman merged commit cb6f67c into main Oct 22, 2024
210 checks passed
@andrueastman andrueastman deleted the andrueastman/fixSuperflousFields branch October 22, 2024 11:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
2 participants