bug icon indicating copy to clipboard operation
bug copied to clipboard

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

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

## Reproduction steps Scala version: 2.13.11 ```scala $ scala -Vprint -Xlint -Dscala.repl.info scala 2.13.11> import scala.collection.{AnyStepper, Stepper} scala 2.13.11> def f[A, B](x: => AnyStepper[A], y: => Stepper[B]): Unit = {...

help wanted
errors and warnings

## Reproduction steps Scala version: 2.13.11, 2.13.12 Works in: 3.3.1 ```scala type Id[A] = A trait Extract[T, F[_]] { def apply(json: AnyRef): F[T] } object Extract { implicit val extractString:...

typer
fixed in Scala 3

## Reproduction steps Scala version: 2.13.12 Java interfaces: ```java interface Parent { default Object bug() { return "Hello world"; } } interface Child extends Parent { @Override String bug(); }...

java interop
fixed in Scala 3

## Reproduction steps Scala version: 2.13 ```scala scala 2.13.12> var x = 42 var x: Int = 42 scala 2.13.12> x = 17 // mutated x scala 2.13.12> x +=...

repl
good first issue

## Reproduction steps Scala version: 2.13.12 [getOrElseUpdate is missing defaultValue parameter](https://www.scala-lang.org/api/current/scala/collection/mutable/HashMap.html#getOrElseUpdate(key:K,defaultValue:=%3EV):V) [compare MapOps](https://www.scala-lang.org/api/current/scala/collection/mutable/MapOps.html#getOrElseUpdate(key:K,op:=%3EV):V) The specific doc problem will be fixed by amending the aberrant signature in `MapOps`. ## Problem Scaladoc...

scaladoc tool

## Reproduction steps Scala version: 2.13 `keyset` and `genkeyset` are searchable in docs but omitted. https://www.scala-lang.org/api/current/scala/collection/MapOps.html#GenKeySetextendsAnyRef ## Problem I expect to see docs for protected classes intended for implementors. If...

scaladoc tool
docs

## Reproduction steps Scala version: (2.13.12) ```scala import reflect.ClassTag def main(args: Array[String]): Unit = { test(Array("jan", "feb", "mar", "april", "may", "jun")) } def test[T: ClassTag](seq: Seq[T]): Unit = { println(seq)...

typer
fixed in Scala 3

## Reproduction steps Scala version: 2.13.11 ```scala class Ref extends AnyRef { override def clone :Ref = super[AnyRef].clone } ``` ## Problem ``` AnyRef does not name a parent class...

## Reproduction steps Scala version: 2.13.11 ```scala trait Clone extends AnyRef with Cloneable { override def clone :Clone = super[Object].clone.asInstanceOf[Clone] } class C extends Clone (new C).clone ``` ## Problem...

should not compile
access

## Reproduction steps Scala version: 2.13.11 ```scala class Wrapper(val self :Int) extends AnyVal final val One = new Wrapper(1) final val Two = new Wrapper(2) (One :Wrapper @switch) match {...

valueclass
enhancement