-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Failure to lift a FunctionN
to Function1[TupleN[...], ...]
#12127
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
Comments
Why "should be"? Is it a bug or a language enhancement? |
@odersky Not sure which, though why does it work sometimes, like in the |
That's because of parameter untupling. Let me see whether we can generalize that. |
odersky
added a commit
to dotty-staging/dotty
that referenced
this issue
Apr 18, 2021
odersky
added a commit
to dotty-staging/dotty
that referenced
this issue
Apr 19, 2021
odersky
added a commit
to dotty-staging/dotty
that referenced
this issue
Apr 20, 2021
michelou
pushed a commit
to michelou/scala3
that referenced
this issue
Apr 21, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Compiler version
3.0.0-RC2
Minimized code
Expectation
_ + _ + _
should be automatically lifted fromFunction3[Int, Int, Int, Int]
toFunction1[Tuple3[Int, Int, Int], Int]
The text was updated successfully, but these errors were encountered: