scala3
scala3 copied to clipboard
The Scala 3 compiler, also known as Dotty.
Based on OpenCB failure in `com-lihaoyi/upickle` - [build logs](https://github.com/VirtusLab/community-build3/actions/runs/19978523736/job/57301614127) FYI @lihaoyi I've started to notice this problems recently. Compilation using `mill` sometimes passes, sometimes it does not. For some reason...
## Compiler version 3.7.4, 3.8.1-RC1-bin-20251208-0bb0433-NIGHTLY ## Minimized code ```scala object test { object O { opaque type R[X] = X } inline def f = inline scala.compiletime.erasedValue[O.R[Int]] match { case...
## Compiler version Crash reproducible with scalac 3.3.7 and 3.7.4. ## Minimized code Put the attached Java files and the Scala file below in a folder and try to compile...
Sometimes it is crucial to convert types without evaluating the value. For example, like this: ```scala implicit def toB[R](x: => A[R]): B[R] = B(myFun(x)) ``` There exists no equivalent `given`...
Scala 3.7.4 Compile this code (it's expected to fail with compilation errors) ```scala @main def main(): Unit = { // GOOD: the type mismatch error has correct type (java.util.Map.Entry[String, Int])...
In 3.8.0-RC2 the scala3-library JAR was empty, in RC3 it contains some .class and .tasty files. Most likely caused by semantics conflicts in https://github.com/scala/scala3/pull/24645 The same problem can found in...
Based on the OpenCB failure in `zio/zio-schema` - [build logs](https://github.com/VirtusLab/community-build3/actions/runs/19978523736/job/57301612974) ## Compiler version Last good release: 3.8.0-RC1-bin-20251103-714f3b6-NIGHTLY First bad release: 3.8.0-RC1-bin-20251104-b83b3d9-NIGHTLY Bisect points to one of: f3aea49b6f7754ffa79beab007fcdac4a37dc4c5 5b03dca156e523a20ca232d9c03dc8d53dd4588e Both are...
Based on the OpenCB failure in `nebula-contrib/testcontainers-nebula` - [build logs ](https://github.com/VirtusLab/community-build3/actions/runs/19978389760/job/57299914748) Depending on how we construct `map` invocation the code might fail to compile. In case of Scala 3.7.4/3.8.0-RC3 the...
Based on the OpenCB failure in `gnieh/fs2-data` - [build logs](https://github.com/VirtusLab/community-build3/actions/runs/19978523736/job/57301613129) Might affect most of the typelevel ecosystem. Problem exists when using `com.disneystreaming::weaver-cats:0.8.4` , but it's absent when using `org.typelevel::weaver-cats:0.11.2` (probably...
Based on failure in OpenCB for: - eed3si9n/jarjar-abrams - [build logs](https://github.com/VirtusLab/community-build3/actions/runs/19978523736/job/57301614347) - sbt/io - [build logs](https://github.com/VirtusLab/community-build3/actions/runs/19978523736/job/57301614953) Found `in : java.io.InputStream` is a correct input type, however existance of shadowed `in:...