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

Merged
merged 6 commits into from
Nov 8, 2024

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