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

Backport "Re-use isConcrete checking in match types for NamedTuple.From" to 3.5.2 #21447

Merged
merged 2 commits into from
Aug 27, 2024

Conversation

WojciechMazur
Copy link
Contributor

Backports #20947 to the 3.5.2 branch.

PR submitted by the release tooling.
[skip ci]

 - Move isConcrete to a new object `MatchTypes`. We should also move other MatchType-related
   stuff from Types and TypeComparer here. Type and TypeComparer are already unconfortably big,
   and MatchTypes are a coherent topic where everything should work together.
 - Streamline isConcrete a bit.
 - Re-use isConcrete for a similar test in CheckRealizable.
 - Re-use isConcrete for evaluating NamedTuple.From

Fixes #20517

[Cherry-picked 532a9da]
Base automatically changed from 3.5.x-20950 to 3.5.x August 27, 2024 22:05
@WojciechMazur WojciechMazur merged commit 46b3479 into 3.5.x Aug 27, 2024
31 of 42 checks passed
@WojciechMazur WojciechMazur deleted the 3.5.x-20947 branch August 27, 2024 22:05
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.

2 participants