Skip to content

disable 0-ary eta expansion #391

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

Closed
adriaanm opened this issue Jun 3, 2017 · 2 comments
Closed

disable 0-ary eta expansion #391

adriaanm opened this issue Jun 3, 2017 · 2 comments
Milestone

Comments

@adriaanm
Copy link
Contributor

adriaanm commented Jun 3, 2017

2.12.3 ticket: #196

@adriaanm adriaanm added this to the 2.13.0-M2 milestone Jun 3, 2017
@adriaanm
Copy link
Contributor Author

adriaanm commented Jun 3, 2017

This should set us on a path to fix the wart in scala/scala3#2570
(do eta-expansion even when the expected type is not known, except for 0-ary functions, where you must do it manually -- the default is to apply a zero-ary function to an empty argument list)

@SethTisue
Copy link
Member

PR: scala/scala#6475

@lrytz lrytz closed this as completed May 14, 2018
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

No branches or pull requests

4 participants