-
```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
…
-
Currently we're not handling null/undefined at all. One way we could is to make 3 new typeclass instances (one for A | Null, one for A | Unit, and one for A | Null | Unit).
For example:
```Scala…
-
## Compiler version
3.2.0
## Minimized code
```Scala
import scala.reflect.Selectable.reflectiveSelectable
def f : { def foo(as: String*): String } = new {
def foo(s: String*) = s.to…
-
## Description
We would like to introduce a scala API that actively validates the feasibility of tensor operations while being written, NOT while being tested or deployed. The API will be based on …
-
`-Yexplicit-nulls` fails to detect method call on a variable holding `null`.
This might be regression, as `scalac` v3.3.3 detects the error as expected.
## Compiler version
3.4.2
## Minimized …
-
I used `@Lenses` macro annotation in Scala2, but I can't find `@Lenses` in Monocle 3.1.0 with Scala3.
Does anyone know anything about this issue?
Does Monocle have any plan to support `@Lenses` in S…
-
The [Scala spect](https://www.scala-lang.org/files/archive/spec/2.11/01-lexical-syntax.html) states:
> The ‘$’ character is reserved for compiler-synthesized identifiers. User programs should not d…
-
## 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…
-
## Reproduction steps
Scala version: 2.13.12
Java interfaces:
```java
interface Parent {
default Object bug() {
return "Hello world";
}
}
interface Child extends Parent {
@Ov…
-
For example `def bar = foo` (non-inline) is separately compiled from `inline def foo = summonFrom { ... }`, and serialised in TASTy as an unresolved call to `foo`, i.e. implicit search happens after t…