Skip to content

Add tests for type deconstruction and construction #3164

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

Merged
merged 4 commits into from
Jan 3, 2023

Conversation

vitek-karas
Copy link
Member

This was prompted by #3158
So I just added several tests for various shapes of type deconstructions. To make it symmetric I also added tests for what I call type construction (tuples, anonymous types, records).

The naming is probably pretty bad and thus the test is undiscoverable. If somebody knows the right terminology or has a better idea for naming, please :-)

@vitek-karas vitek-karas merged commit 72d05e4 into dotnet:main Jan 3, 2023
@vitek-karas vitek-karas deleted the ConstructedTypes branch January 3, 2023 11:55
tlakollo pushed a commit to tlakollo/runtime that referenced this pull request Jan 16, 2023
This was prompted by dotnet/linker#3158
So I just added several tests for various shapes of type deconstructions. To make it symmetric I also added tests for what I call type construction (tuples, anonymous types, records).

Commit migrated from dotnet/linker@72d05e4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants