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 "Optimise SpaceEngine.signature" to 3.6.2 #21899

Open
wants to merge 6 commits into
base: release-3.6.2-backport-21835
Choose a base branch
from

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]
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