bug icon indicating copy to clipboard operation
bug copied to clipboard

Scala 2 bug reports only. Please, no questions — proper bug reports only.

Results 430 bug issues
Sort by recently updated
recently updated
newest added

## Reproduction steps Scala 2 version: 2.13.16 Scala 3 version: 3.6.3 1. Clone this minimum reproducability case: https://github.com/jadenPete/scala-unsupported-generic-tuple-bug-reproduction 2. Run `sbt compile` 3. Observe the following compilation error: ``` [error]...

tastyreader

## Reproduction steps Scala 2 version: 2.13.16 Scala 3 version: 3.6.3 1. Clone this minimum reproducability case: https://github.com/jadenPete/scala-missing-implementation-bug-reproduction 2. Run `sbt compile` 3. Observe the following compilation error: ``` [error]...

tastyreader

## Reproduction steps Scala 2 version: 2.13.16 Scala 3 version: 3.6.3 1. Clone this minimum reproducability case: https://github.com/jadenPete/scala-type-projection-bug-reproduction 2. Run `sbt compile` 3. Observe the following compilation error: ``` [error]...

tastyreader

## Reproduction steps Scala 2 version: 2.13.16 Scala 3 version: 3.6.3 1. Clone this minimum reproducability case repository: https://github.com/jadenPete/scala-missing-from-classpath-bug-reproduction 2. Run `sbt compile` 3. Observe the following error: ``` [error]...

tastyreader

as discussed with @Gedochao at Scala core meeting today in reference to e.g. https://github.com/scala/scala3/issues/21657 about Scala 2's `:sh` command, but there are probably other such commands as well if I...

repl

## Compiler version 3.5.2 and other versions ## Minimized code https://github.com/jilen/scala2-opaque-error > file1 define opaque type (scala3) ```scala object Alias { opaque type Of[X] file2, use opaque type (scala 2.13)...

tastyreader

`-sourcepath` should be a `-Y` setting, it's only used for compiling the standard library. A separate flag should be added for Scaladoc, to support `-doc-source-url`. Apply the same change to...

help wanted
scaladoc tool

J.java ```java public class J { public void jva(String... s) { } } ``` S.scala ```scala class C extends J { override def jva(s: String*): Unit = println("c") } ```...

varargs
java interop
fixed in Scala 3

## reproduction steps https://stackoverflow.com/questions/62415172/mere-presence-of-implicit-conversion-makes-the-program-compile-despite-never-bei/62426914 using Scala 2.13.2, ```scala scala> class Bar class Bar scala> def f[F[_], A](v: F[A]) = v def f[F[_], A](v: F[A]): F[A] scala> implicit def barToList(b: Bar):...

infer
typer
implicit
fixed in Scala 3

## Reproduction steps - works in Scala 3.3.6 - bad in Scala 2.13.16 ```scala private val CLASS_STACK_WALKER: java.util.function.Function[ java.util.stream.Stream[StackWalker.StackFrame], Array[Class[_]]] = (frames: java.util.stream.Stream[StackWalker.StackFrame]) => frames.map(frame => frame.getDeclaringClass) .toArray((size: Int) =>...

fixed in Scala 3