scala3
scala3 copied to clipboard
The Scala 3 compiler, also known as Dotty.
For example: nightly: https://dotty.epfl.ch/api/scala/Tuple$.html#fromProductTyped-96d 3.2.0: https://scala-lang.org/api/3.x/scala/Tuple$.html#fromProductTyped-96d
## Compiler version 3.1.2 Rrror: https://github.com/akka/akka/runs/8294129202?check_suite_focus=true From: https://github.com/akka/akka/pull/31345 ## Minimized code Sorry I have not minimized it :( ```Scala def combine[T, U, M]( sources: java.util.List[_ other } else immutable.Seq() import...
## Compiler version 3.2.0 ## Minimized code ```Scala package a: class Foo() private[this] object Foo import a.Foo @main def run() = val f = Foo() ``` ## Output ``` [error]...
See https://github.com/lampepfl/dotty/pull/15697#issuecomment-1204987340 and https://github.com/lampepfl/dotty/pull/15697#issuecomment-1206516476 I also think that there's too much blank space in the "Attributes" section, the attribute name could be shown above its value instead of to the...
## Compiler version 3.1.2 ## Minimized code ```Scala case class Foo(a: Int, b: String) val foo = Foo(1, "Hello") var x: Tuple2[Int, String] = Tuple.fromProductTyped(foo) var y: Product2[Int, String] =...
Regression reproduced based on [Open CB #4730](https://scala3.westeurope.cloudapp.azure.com/job/buildCommunityProject/4730/) found in [fd4s/vulcan](https://github.com/fd4s/vulcan) Part of the #15949 regression tracker I'm not sure if it's a regression or an improvement. Code, where the error...
We should have a page in `dotty.epfl.ch` describing the generic [`Tuple`](https://github.com/lampepfl/dotty/blob/master/library/src/scala/Tuple.scala) and provide some examples.
Scala 3.2.0 in REPL  with input: `va c:Long = 1` Expection: Is there any chance that reminds me there should be a `val`?
## Compiler version 3.2.0 and 3.2.1-RC1 (version used for stacktrace below) ## Minimized code Unfortunately I've not been able to make a minimal test case. ## Output (click arrow to...