Skip to content

Conversation

WojciechMazur
Copy link
Contributor

Backports #21791 to the 3.6.2 branch.

PR submitted by the release tooling.
[skip ci]

[Cherry-picked 116f5fe]
Using `constrained` on a TypeLambda means adding one TypeLambda for all
the type parameters in tp1, while newTypeVar creates a TypeLambda for
each type parameter.

[Cherry-picked 28b8c55]
Instead of creating type vars, constraining against them, then
instantiating them, just instantiate the PolyType with the scrutinee
type args (or the lo/hi bound or bounded wildcard from the param).

[Cherry-picked bdafee6]
Base automatically changed from release-3.6.2-backport-21835 to release-3.6.2 November 8, 2024 12:00
@WojciechMazur
Copy link
Contributor Author

No regressions detected in the community build up to release-3.6.2-backport-21891.

Reference

@WojciechMazur WojciechMazur merged commit 5f3e0df into release-3.6.2 Nov 8, 2024
32 checks passed
@WojciechMazur WojciechMazur deleted the release-3.6.2-backport-21791 branch November 8, 2024 12:00
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