-
Notifications
You must be signed in to change notification settings - Fork 53
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
Scala 3: wrongly accepted modify
does nothing
#258
Comments
Looking at #257, it is very likely it will fix this one as well. Staying tuned... |
.. or not. In this case there is only one |
I will try to get my hands dirty here. |
It is almost fixed with 1.9.10, only the error message is a bit confusing:
I will check if I am able to improve that, at least I will learn something if any similar issues should surface again. |
Following code does not compile in Scala 2 and it should not compile in Scala 3. It is accepted instead, but the
modify
does nothing at all:There is no copy accepting
c
parameter, thereforemodify(_.c)
is impossible to implement.Result when running this in Scala 3 is:
The text was updated successfully, but these errors were encountered: