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

Fix rewrite logic for old <function> _ syntax #21715

Merged
merged 1 commit into from
Oct 7, 2024
Merged

Conversation

bracevac
Copy link
Contributor

@bracevac bracevac commented Oct 6, 2024

A rewrite would previously produce uncompilable
code if the access path to the eta-expanded
function goes through at least one def.

Fixes #21394

A rewrite would previously produce uncompilable
code if the access path to the eta-expanded
function goes through at least one `def`.

Fixes scala#21394
@bracevac bracevac merged commit 9344b1e into scala:main Oct 7, 2024
28 checks passed
@WojciechMazur WojciechMazur added this to the 3.6.0 milestone Oct 8, 2024
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.

Automatic rewrite for <function> _ can produce non-compiling code for curried functions
2 participants