Skip to content

Backport "Improve defn.PolyFunctionOf extractor" to LTS #20663

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 1 commit into from
Jun 20, 2024

Conversation

WojciechMazur
Copy link
Contributor

Backports #18442 to the LTS branch.

PR submitted by the release tooling.
[skip ci]

* Only match `RefinedType` representing the `PolyFunction`. This will
  allow us to use `derivedRefinedType` on the function type.
* Only match the refinement if it is a `MethodOrPoly`. `ExprType` is not
  a valid `PolyFunction` refinement.
* Remove `dealias` in `PolyFunctionOf` extractor. There was only one
  case where this was necessary and it added unnecessary overhead.

[Cherry-picked 60b2d02][modified]
Base automatically changed from lts-18432 to lts-3.3 June 20, 2024 14:53
@WojciechMazur
Copy link
Contributor Author

No regressions detected in the community build up to lts-18731.

Reference

@WojciechMazur WojciechMazur merged commit 0365d9f into lts-3.3 Jun 20, 2024
19 checks passed
@WojciechMazur WojciechMazur deleted the lts-18442 branch June 20, 2024 14:53
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.

1 participant