You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for the recent bunch of fixes. The number of errors in my project is greatly reduced now. There are some new discovered thanks to using the workaround suggested in #3367. Tested with Scala 3.4.1-RC1 and surface 24.2.2, works fine in Scala 2:
build.sbt:
version :="0.1.0-SNAPSHOT"
scalaVersion :="3.4.1-RC1"
name :="airframe-surface-test"
libraryDependencies +="org.wvlet.airframe"%%"airframe-surface"%"24.2.2"
C:\Dev\airframe-surface-test\src\main\scala\Main.scala:6:5
wrong number of arguments at pickler for (z: => Any)(seqop: (Any, String) => Any, combop: (Any, Any) => Any): Any: (z: => Any)(seqop: (Any, String) => Any, combop: (Any, Any) => Any): Any, expected: 1, found: 0
Surface.methodsOf[Seq[String]]
C:\Dev\airframe-surface-test\src\main\scala\Main.scala:6:22
Found: (classOf[scala.collection.AnyConstr] : Class[scala.collection.AnyConstr])
Required: Class[?]
Surface.methodsOf[Seq[String]]
C:\Dev\airframe-surface-test\src\main\scala\Main.scala:6:22
constructor SizeCompareOps cannot be accessed as a member of scala.collection.IterableOps.SizeCompareOps from object Main.
private[collection] constructor SizeCompareOps can only be accessed from package scala.collection in package scala.
Surface.methodsOf[Seq[String]]
The text was updated successfully, but these errors were encountered:
OndrejSpanel
changed the title
Surface.methodsOf for Seq fails with Scala 3Surface.methodsOf for Seq fails with Scala 3
Feb 25, 2024
Thanks for the recent bunch of fixes. The number of errors in my project is greatly reduced now. There are some new discovered thanks to using the workaround suggested in #3367. Tested with Scala 3.4.1-RC1 and surface 24.2.2, works fine in Scala 2:
build.sbt:
Main.scala:
produces following errors:
The text was updated successfully, but these errors were encountered: