Skip to content

Backport "Inline transparent implicit parameters when typing Unapply trees" to LTS #21048

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
Jul 5, 2024

Conversation

WojciechMazur
Copy link
Contributor

Backports #19646 to the LTS branch.

PR submitted by the release tooling.
[skip ci]

We needed to delay the inlining of the transparent inline when typing
the unapply function application. We used the NoInline mode, but this
also stopped the inlining of the arguments of the unapply. To fix this
we target more precisely the inlining of the unapply method and not the
implicit arguments. To do this we detect the dummy argument that is used
type the unapply as an application, before it is transformed into a pattern.

Fixes #19623

[Cherry-picked d244a30]
Base automatically changed from lts-19380 to lts-3.3 July 5, 2024 21:28
@WojciechMazur
Copy link
Contributor Author

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

Reference

@WojciechMazur WojciechMazur merged commit 827af90 into lts-3.3 Jul 5, 2024
19 checks passed
@WojciechMazur WojciechMazur deleted the lts-19646 branch July 5, 2024 21:28
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