scala3
scala3 copied to clipboard
The Scala 3 compiler, also known as Dotty.
This aims to add the ability to declare functions with many clauses of type parameters, instead of at most one, and to allow those clauses to be interleaved with term...
Regression found in the [Open CB #5274](https://scala3.westeurope.cloudapp.azure.com/job/buildCommunityProject/5274/) for [scalanlp/breeze](https://github.com/scalanlp/breeze) Bisect points to https://github.com/lampepfl/dotty/commit/d2eeef1f9a84ebbd36f53740aa997dd77d438281 ## Compiler version Scala 3.2.2-RC1-bin-20220907-a503b7a-NIGHTLY ## Minimized code ```Scala class X: def toString(maxLines: Int = 10, maxWidth:...
## Compiler version Tested both 3.1.3 and 3.2.0-RC1 ## Minimized code ```Scala case class Composite[T](l: List[T], v: T) def m(composite: Composite[_]): Unit = composite match { case Composite(l: List[Int], v:...
Fixes #15983
Each table contains a list of projects that failed to compile with *Scala 3.2.1-RC1-bin-20220831-398b72e-NIGHTLY*, but was successfully built with the given previous version. A summary is based only on final...
Right now, an exported class is shown as a `final type` in the scaladoc. We have all the information to present the exported members more plainly - e.g. show that...
## Compiler version 3.1.3. Seems to affect Scala 3+ in general ## Minimized code I tried minimising the issue by reimplementing the `DataTypeHint` interface and other dependencies but it wouldn't...
## Compiler version 3.2.0 ## Minimized example Tuple construction through `constValueTuple`, `summonAll` and probably others too currently run in quadratic time at runtime, constructing all the smaller tuple sizes before...
## Compiler version `3.2.1-RC1-bin-20220831-398b72e-NIGHTLY` compiles without warnings with `3.2.0-RC1` ## Minimized code ```Scala sealed trait T[-U] final case class C[U]() extends T[U] def f[U](ua: T[U]) = ua match { case...
Warn when an expression `e` with non-Unit type is adapted by embedding it into a block `{ e; () }` because the expected type is Unit. TODO - [ ]...