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

Avoid eta-reduction of (..., f: T => R, ...) => f.apply(..) into f #19966

Merged
merged 1 commit into from
Mar 18, 2024

Conversation

nicolasstucki
Copy link
Contributor

Fixes #19962

@nicolasstucki nicolasstucki marked this pull request as ready for review March 18, 2024 09:47
@nicolasstucki nicolasstucki changed the title Avoid eta-reduction on f => f(f) Avoid eta-reduction of (..., f: T => R, ...) => f.apply(..) into f Mar 18, 2024
@nicolasstucki nicolasstucki merged commit 943efdc into scala:main Mar 18, 2024
19 checks passed
@nicolasstucki nicolasstucki deleted the fix-19962 branch March 18, 2024 13:14
@Kordyjan Kordyjan added this to the 3.4.2 milestone Mar 28, 2024
WojciechMazur added a commit that referenced this pull request Jul 4, 2024
…)` into `f`" to LTS (#20996)

Backports #19966 to the LTS branch.

PR submitted by the release tooling.
[skip ci]
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.

Compiler crash with (f:AnyRef => AnyRef)
3 participants