-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Better error message than "overloaded or recursive method needs return type" for (1)(2)
#3742
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
|
Oops, I mean #2994 |
There is an additional spurious message when attempting
|
@propensive are you using the latest Dotty master? That second message has been fixed recently. |
No... my attempt to build |
Don't forget to |
I was just about to say that! I missed the message before all the errors! Thanks, and sorry for the noise! |
Fixed in #3750 |
From discussion on a separate (closed) issue #3737, it became clear that at least the error message should be improved.
In dotty:
In scalac:
The text was updated successfully, but these errors were encountered: