-
## 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') -> …
-
## 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.…
-
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…
-
## 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…
-
We are working on an experiment feature based on `Recheck`. During our testing on community projects, we have observed some unusual typing behaviors that we believe are caused by a bug in `Recheck`.
…
-
## The problem
TemplateNotFound error thrown by Jinja2 when generating changelog in a subfolder. The directory structure is as follows:
```
- main_program
+-- templates
+-- main_program
…
deme3 updated
1 month ago
-
## Compiler version
3.1.1-RC1
## Minimized code
```Scala
package x
trait ContextMonad[F[_]]:
type Context
def inContext[A](f: Context => F[A]):F[A] = ???
object ContextMonad:
typ…
-
Hi all!
Just noticed Scala 3 is now officially on the scala-lang.org website - that's absolutely fantastic! I would like to share some of my findings from a Windows user's point of view, that could…
-
## Compiler version
3.5.2-RC1
## Minimized code
```Scala
val a: [A] => (=> A) => Unit = [A] => a => ()
```
## Output (click arrow to expand)
```text
java.lang.AssertionError: ass…
-
Standard optics work between two types A and B. There is a generalisation of optics called polymorphic optics that takes four type parameters, generally called S, T, A, and B. This generalisation let …