-
The following code does not compile with Scala 2.12.4. However, it compiles unchanged with Dotty 0.4.0-RC1. If all variance annotations in the BFlow1 trait are dropped then it also compiles with Scala…
-
## reproduction steps
```scala
scala 2.13.3> object X ; object Y
object X
object Y
scala 2.13.3> (X: Any) match { case _: Y.type => 1 case _ => 2 }
val res0: Int = 2
scala 2.13.3> X match…
-
## Compiler version
scalac 3.0.2
## Minimized code
I apologize for the length of this code, but countless variations all compile or successfully fail to compile.
```Scala
package lab.…
-
## Compiler version
3.1.0, 3.1.1-RC1
## Minimized code
```Scala
trait CBContext:
def foo() = ???
trait CB[T]
given ContextMonad[CB] with
override type Context = CBContext
/…
rssh updated
6 months ago
-
## Compiler version
3.3.0-RC2
## Minimized code
```Scala
def foo[T](x: T): T = x
inline def inlineFoo[T](x: T): T = x
case class A() {}
case class B(a: {*} A) {}
val a: {*} A = new A()…
-
Currently the command to compile scala 3 code is `scalac`. The name `dotc` is not used anymore and should disappear from the documentation unless when it refers to the historical `dotc` command.
-
## The problem
The documentation says I can configure the push target via
```
[tool.semantic_release.remote]
name='origin'
```
https://python-semantic-release.readthedocs.io/en/latest/config…
-
Hello, after update to scala 3.0.2 (https://github.com/avast/scala-server-toolkit/pull/879) we're seeing warning:
https://github.com/avast/scala-server-toolkit/runs/5993674443?check_suite_focus=t…
-
We currently support the suffixes `c3.x.y` to allow tests to compile part of the sources with a different compiler.
We should extend this to support Scala 2 as we have many issues related to compatib…
-
https://www.nuget.org/packages/elastic.clients.elasticsearch/