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

close #19266 Before this PR, `checkStatementPurity` filtered out impure expression too eagerly and `closureDef` ignores closure definition generated from eta-expansion on method with default arguments, which prevented impure lambda at...

## Compiler version 3.4.0-RC2 ## Minimized code ```scala import compiletime.summonAll import deriving.Mirror type Sc[X] = X case class Row[T[_]](name: T[String]) class DialectTypeMappers: given String = ??? inline def metadata(dialect: DialectTypeMappers)(using...

itype:bug
itype:crash
area:inline

## Compiler version 3.4.0-RC2 ## Minimized code ```scala object repro: abstract class Mapper[A, B] extends (A => B) given Mapper[Int, Double] with // inlining causes a compiler crash inline def...

itype:bug
itype:crash
area:inline
Spree

## Compiler version 3.3.1 In pekko /Akka project ## Minimized code Sbt docs +3.3.1 TestOnly ※ActorDocSpec※ I edited this on phone , sorry ```Scala "Xxxxx test " in { new...

itype:bug
area:backend
Spree

When trying to export M2.F, seeing M1#F from the prefix M2 doesn't change the bounds of F's T type parameter, which still refers to M1.this.A, rather than M2.A. So, we...

## Compiler version I've compared a simple peace of code performance running with Scala 2 and Scala 3 and faced with performance regression. In this case Scala 2 generated program...

itype:bug
area:transform

Dotty is still on 3.19.0, from way back in 2021. (Scala 2.13.13 is on 3.24.1, and we'll very likely move to 3.25.1 in 2.13.14.) Why is the upgrade desirable? No...

itype:bug
area:repl

fix https://github.com/lampepfl/dotty/issues/18681 This commit fixes the reporting issue where un-reduced summonFrom does not fallback to implicitNotFound. Before this commit, `reduceInlineMatch` discarded the information from implicit search in InlineReducer. See https://github.com/lampepfl/dotty/pull/19490/files#diff-b34b7edb06dcd7e56dac607175a9519e98d79473371201ad3c750613db3a8579R207-R213...