scala3
scala3 copied to clipboard
The Scala 3 compiler, also known as Dotty.
Fixes #15402 Replaces the initial PR #15461 with a more sublime solution. For the equivalent of given code written in Java ``` trait Named: def me: Named trait Foo extends...
## Compiler version 3.1.3 ## Minimized code ```Scala object Main extends App { class Unapplyer { def unapplySeq(seq: Seq[Int]): Option[(Int, Seq[Int])] = if (seq.isEmpty) None else Some((seq.head, seq.tail)) } val...
## Compiler version 3.2.1-RC1 ## Minimized code Can hardly isolate a simple code reproducer, but [some integration tests](https://app.circleci.com/pipelines/github/ReactiveMongo/ReactiveMongo?branch=pull%2F1147) consistently reproduce the issue. ## Output ``` Exception: java.lang.OutOfMemoryError thrown from the...
## Compiler version 3.1.3 ## Minimized code ```Scala sealed trait NatT final case class Zero() extends NatT final case class Succ[+N
## Compiler version v3.2.0-RC2 ## Minimized code https://scastie.scala-lang.org/xebUkPLdQUKL9V8Q4Kdyhg ```Scala class Box[T] def dep1[T1
## Compiler version 3.1.2 ## Minimized code ```Scala inline def lubOf[T
## 3.1.2 the Compile opton -Xelide-below have removed?
Forward port https://github.com/scala/scala/commit/f428cc6d94bbfee6ba3f7a956d0eee7126d785af Forward port https://github.com/scala/scala/commit/85136e3f2591f0bf22d3845ecc83081a0b6c4aa4 Forward port https://github.com/scala/scala/commit/4df81aab315e587d9c7e319c7a2ece0f0f6fbaf3 The biggest diff is for the CDATA support. Fixes end of literal on windows, and start of literal includes open bracket....
## Compiler version 3.1.3 ## Minimized code ```bash echo "@main def main = println(util.Properties.versionMsg)" > test.scala scala -nocompdaemon test.scala ``` This code is part of a docker build on a...
1. Fix accidentally recursive ParamInfo instance, and test 2. Add a missing Integer instance, needed for VarianceMap, and test 3. Fix showing nested non-Showable, non-primitive values, for instance showing a...