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.1 ## Minimized code main.scala ```Scala //> using scala 3.3.1 //> using platform scala-js //> using dep "org.scala-js::scalajs-dom::2.8.0" import org.scalajs.dom class MyWebSocket(domSocket: dom.WebSocket): export domSocket.close ```...

itype:bug
area:scala.js
itype:crash

## Compiler version 3.3.1 ## Minimized code This is a slightly changed code from https://github.com/lampepfl/dotty-macro-examples/tree/main/defaultParamsInference, two files as in the example: macro.scala: ```Scala package dummy import scala.quoted.* trait Defaults[A]: def...

itype:bug
itype:crash
area:metaprogramming:reflection

## Compiler version 3.3.1 (and all current RCs as far as I can tell) ## Minimized code ```scala trait SomeTrait: inline def base: Unit inline def doSomething: Unit = doSomethingHelper...

itype:bug
stat:needs triage

I have tried `sbt console` as well as `scala-cli console`, in both cases, generating some valid xml strings crashes with a `StackOverflowError`. Running the same code without the console works...

itype:bug
area:parser
area:repl
good first issue

## Compiler version scalaVersion: 3.2.2-RC2 ## Minimized code Scala file: ```Scala class A: extension (k: Int) def getOrElse[V](default: V): V = ??? ``` Java file: ```Java public class B_2 {...

itype:bug
area:backend
compat:java
area:extension-methods

at https://repo1.maven.org/maven2/org/scala-lang/scala3-compiler_3/ , the most recent 3.3.2 nightly is from July 24 https://repo1.maven.org/maven2/org/scala-lang/scala3-compiler_3/3.3.2-RC1-bin-20230724-ce1ce99-NIGHTLY/ I noticed this because that version is also what `scala-cli -S 3.3.nightly` gives not sure whose wheelhouse...

itype:bug
area:infrastructure

## Compiler version 3.0.2, 3.1.3, 3.2.2, 3.3.0-RC3 ## Minimized code https://github.com/i10416/reproduce-missing-symbol-error-in-scala-3 The following code compiles in Scala 2.x, but won't compile in Scala 3.x for "Not found: type Foo". src/main/java/Bar.java...

itype:bug
area:backend
compat:java

## Minimized code ```Scala class C: object Foo extends Foo.Bar.Base: object Bar: class Base @main def test() = val c = new C val x = new c.Foo.Bar.Base ``` ##...

itype:bug
area:backend

## Compiler version 3.3.1-RC3 ## Minimized code ```Scala sealed trait A trait X extends A trait Y extends A trait Visitor: type Precise[T] def dispatch(a:A) : Precise[a.type] = (a:a.type) match...

itype:bug
area:pattern-matching

Writing ```scala scala> class 😃 ``` and then backspace 3 times confuses the repl ```scala scala> cclas ``` There is probably a wrong computation of the current cursor in presence...

itype:bug
area:repl
backlog