scala3 icon indicating copy to clipboard operation
scala3 copied to clipboard

The Scala 3 compiler, also known as Dotty.

Results 959 scala3 issues
Sort by recently updated
recently updated
newest added

## Compiler version 3.3.6 through latest nightly 3.7.2-RC1-bin-20250523-ee14905-NIGHTLY ## Minimized code ```scala trait Show[A] { def apply(a: A): String } object Show { given str[S s } case class Test()...

itype:enhancement
better-errors

## Compiler version Scala compiler version 3.7.1-RC1-bin-SNAPSHOT-nonbootstrapped-git-24b2dc7 ## Minimized code ```scala trait P[F[_]] trait Q[F[_]] extends P[F] case class W[A](as: A) object W: implicit def w: Q[W] = ??? def...

itype:bug
area:implicits
area:infer

## Compiler version 3.6.4 and 3.7.0-RC1 ## Minimized code ```Scala import scala.util.boundary import scala.annotation.constructorOnly class Leak()(using @constructorOnly l: boundary.Label[String]) { Seq("a", "b").foreach(_ => boundary.break("stop")) } ``` ## Output Compilation error...

itype:bug
area:constructors

refs: https://openjdk.org/jeps/8357674 I think this can improve the performance of patten matching.

itype:performance
compat:java:jep
compat:java:jep:unstable

## Compiler version Scala 3.7.0 (Confirmed with both sbt and Scala CLI) ## Minimized code ```scala type DoubleToString[D "_" @main def main(): Unit = summon[DoubleToString[0.0] =:= "0.0"] summon[DoubleToString[-0.0] =:= "0.0"]...

itype:bug
area:match-types

## Compiler version 3.6.4 3.7.0 ## Minimized code ```Scala //> using scala 3.7.0 class Foo(v: Any) extends AnyVal: def bar[X](bar: X)[Y]: Any = v @main def run: Unit = val...

itype:bug
area:transform
itype:crash

Sorry for the poor issue title, I didn't have time to minimize it further and remove the akka dependency. ## Compiler version 3.7.0 ## Minimized example ``` //> using scala...

stat:needs minimization
itype:compiler hangs

## Compiler version 3.7.0 ## Minimized example ```Scala trait A[a] { trait B[b] } ??? match { case _: A[t]#B[String] => ??? } ``` ## Output ```scala Not found: type...

itype:bug
area:pattern-matching

## Compiler version - 3.7.0 - 3.7.1-RC2 ## Minimized example ``` Welcome to Scala 3.7.1-RC2 (21.0.7, Java OpenJDK 64-Bit Server VM). Type in expressions for evaluation. Or try :help. scala>...

itype:enhancement
area:reporting
better-errors