SethTisue on 2.13.x
advance ip4s, same sbt-spiewak … (compare)
Closedextend some supertrait and parameterized it as
[A <: DoorState]if you like but it probably doesn't matter.
import scala.language.implicitConversions type Timeframe = "1m" | "2m" | "1H" type TimeframeN = 1 | 2 | 60 def manualConvertToN(tf: Timeframe): TimeframeN = tf match case "1m" => 1 case "2m" => 2 case "1H" => 60 case "4H" => 60 // incorrect
scala3-replon your path but no
scala3runner to run your compiled programs. So how to run your programs compiled with the cs-installed
scala3-compiler? Seems like the docs on the scala-lang download page could be improved... (I asked this in the coursier gitter as well but there seems to be little activity there - sorry for double posting. :blush: )
@SethTisue My pull request scala/scala-parser-combinators#402 fails test for Scala.js. How do I run these tests locally before opening a PR? I tried simply running
sbt test but that fails with
[error] (parserCombinatorsJS / Test / loadedTestFrameworks) org.scalajs.testing.common.RPCCore$ClosedException: org.scalajs.testing.adapter.JSEnvRPC$RunTerminatedException
Is there a guide to setting this up correctly (macOS) so I can run also the Scala.js tests locally?
privateas it is tied to the concrete definition of
def tokenin that class anyway.