We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Following code compiles fine with Scala 2 but results in error with Scala 3.
case class ParamLists() { def mutipleParamLists()(): Unit = () } Surface.methodsOf[ParamLists]
Error is:
missing argument list for method mutipleParamLists in class ParamLists def mutipleParamLists()(): Unit
missing argument list for method mutipleParamLists in class ParamLists
def mutipleParamLists()(): Unit
case class ParamListsAB() { def mutipleParamLists(a: Int)(b: Int): Unit = () } Surface.methodsOf[ParamListsAB]
Errors are:
wrong number of arguments at pickler for (a: Int)(b: Int): Unit: (Main.ParamListsAB#mutipleParamLists : (a: Int)(b: Int): Unit), expected: 1, found: 2 object Tuple2 in package scala does not take parameters
wrong number of arguments at pickler for (a: Int)(b: Int): Unit: (Main.ParamListsAB#mutipleParamLists : (a: Int)(b: Int): Unit), expected: 1, found: 2
object Tuple2 in package scala does not take parameters
The text was updated successfully, but these errors were encountered:
surface (fix): Fixes #3355 Surface.methodsOf for methods with multipl…
4bb9d5f
…e argument lists
186e8a2
No branches or pull requests
Following code compiles fine with Scala 2 but results in error with Scala 3.
Error is:
Errors are:
The text was updated successfully, but these errors were encountered: