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

Fixes #22429 by not suggesting inaccessible extension methods unless that's all you've got.

Fixes #23347 The code for deciding whether a selector is used to import a symbol was missing a check for accessibility (importability). 3.6.4 doesn't warn, so it would be nice...

Fixes #19177. Done during the compiler issue spree of Monday, May 19th. Note: `hashCode` of `String` is cached (see https://github.com/openjdk/jdk/blob/master/src/java.base/share/classes/java/lang/String.java#L2403-L2436), so this change should not introduce a significant performance overhead.

Fixes #23018 Preserve attachments on literals, check inline expansions for them, and avoid warning about purity when an inline expansion is a constant unit literal (such as `assert(true)` and similar...

Fixes #22979 In Constructors, marking usages was too restrictive in checking that a ref is enclosed by the primary constructor, because anonfuns in the template have not been moved to...

All of them would be achieved with implicit resolution, during which the global state (ctx.base) would have stopInlining set to true, but the corresponding error might not have been shown...

Just following up on a conversation @odersky and I had at SBTB … I was wondering if we could use enum ordinals to emit tableswitches for eligible `match` expressions. I...

area:backend
itype:performance

## Compiler version 3.7.1-RC1-bin-20250328-d519790-NIGHTLY ## Minimized example ```Scala class CustomProduct(x: Int) extends Product { def _1 = someName def _2 = blub val someName = x + 5 val blub...

itype:enhancement
area:reporting
area:pattern-matching
better-errors

## Compiler version 3.4.0-RC1-bin-SNAPSHOT-git-3b974c5 ## Minimized code ```Scala Welcome to Scala 3.4.0-RC1-bin-SNAPSHOT-git-3b974c5 (21, Java OpenJDK 64-Bit Server VM). Type in expressions for evaluation. Or try :help. scala> def f(@deprecatedName x:...

itype:bug
area:annotations