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
java.lang.NumberFormatException: For input string: "0-RC1"
at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
at java.lang.Integer.parseInt(Integer.java:580)
at java.lang.Integer.parseInt(Integer.java:615)
at scala.collection.immutable.StringLike.toInt(StringLike.scala:304)
at scala.collection.immutable.StringLike.toInt$(StringLike.scala:304)
at scala.collection.immutable.StringOps.toInt(StringOps.scala:33)
at mdoc.MdocPlugin$.$anonfun$compatibleScalaVersion$2(MdocPlugin.scala:70)
at mdoc.MdocPlugin$.$anonfun$compatibleScalaVersion$2$adapted(MdocPlugin.scala:70)
at scala.collection.TraversableLike.$anonfun$map$1(TraversableLike.scala:285)
at scala.collection.IndexedSeqOptimized.foreach(IndexedSeqOptimized.scala:36)
at scala.collection.IndexedSeqOptimized.foreach$(IndexedSeqOptimized.scala:33)
at scala.collection.mutable.ArrayOps$ofRef.foreach(ArrayOps.scala:198)
at scala.collection.TraversableLike.map(TraversableLike.scala:285)
at scala.collection.TraversableLike.map$(TraversableLike.scala:278)
at scala.collection.mutable.ArrayOps$ofRef.map(ArrayOps.scala:198)
at mdoc.MdocPlugin$.$anonfun$compatibleScalaVersion$1(MdocPlugin.scala:70)
Thanks for reporting! I should update it so that Scala 3 is also properly handled, however I don't have access to the logs - when does it exactly happen? Is docs/run run for Scala 3 or does it happen when just starting sbt with the Scala 3 version?
With Dotty 0.27.0-RC1.
https://app.circleci.com/pipelines/github/zio/zio-prelude/1189/workflows/aaf68708-e248-4dbb-b510-26696dba7693/jobs/8574
zio/zio-prelude#503
mdoc 2.2.14 works OK.
The text was updated successfully, but these errors were encountered: