-
## Compiler version
3.0.1
## Minimized code
```Scala
package foo {
trait Bar:
inline def baz = Baz
private[foo] object Baz
}
```
## Output
After typer we generate the fo…
-
## reproduction steps
Initially reported as https://github.com/scala-js/scala-js/issues/4454.
See reproduction here: https://github.com/steinybot/bug-reports/tree/scalajs/non-existent-method
…
-
## reproduction steps
```scala
trait Assembler {
type T
}
class AssemblerFunct[X] extends Assembler {
type T = X
}
type AssemblerT[X] = Assembler { type T = X }
class Values…
-
when reporting a problem with overriding an abstract type with a concrete type, the involved type should be normalised so the error message becomes more explicit
```scala
trait Lists { // developed …
-
```scala
scala> import play.api.libs.json._ ; Option("a").getOrElse("b") : Json.JsValueWrapper
:13: error: type mismatch;
found : Object
required: play.api.libs.json.Json.JsValueWrapper
…
-
## Minimized code
```Scala
import scala.Option
object Test extends App {
trait A[+X]
class B[+X](val x: X) extends A[X]
object B {
def unapply[X](b: B[X]): Option[X] = Some(b.x)
…
-
## Compiler version
3.1.0
## Minimized code
Union types of singletons can't be used as keys to a Map.
```Scala
type Row = 1 | 2 | 3
val board: Map[(Row, Char), String] = Map((1, 'a') -> …
-
gRPC has a configurable retry mechanism, however it's disabled once the headers are sent.
Because it's assuming that at this point the client state may have changed.
https://github.com/grpc/proposal…
-
Not sure where to put this. If you notice anything missing that could use improvement, feel free to edit this directly, or comment with suggestions or questions. Once we feel it's complete, perhaps we…
-
I might have already noted these before, but I can't find the ticket. Maybe it was during code review on dotty?
```scala
scala> class C[A] { final def foo(x: A)(y: Int) = 0 }; class D extends C[Int…