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

``-level headings (i.e. those created by =Heading= wiki-style markup) in the body of Scaladoc-generated HTML have a spurious indent from the left. This does not appear to serve any purpose,...

scaladoc tool

Add this to the list of why it's so hard to use an alternative Predef. ```scala package p object Bug { def empty[F[_]] = null type LocalNothing = scala.Nothing def...

typer
should compile
fixed in Scala 3

```scala Mircos-MacBook-Pro-2:~/tmp$ cat Foo.scala object Foo { def tagVersion = { type TagVersion = { def from(): Option[TagVersion] } null : TagVersion } def foo = tagVersion.from() } ``` ```...

should not compile
compiler crash
typer

## Reproduction steps Scala version: 2.13.11 JDK version: 17.0.7 (OpenJDK) sbt version: 1.9.1 ```scala /** Example: [[java.util.concurrent.atomic.AtomicReference]]. */ class Example ``` `build.sbt`: ```scala scalaVersion := "2.13.11" scalacOptions ++= Seq("-release", "11")...

help wanted
scaladoc tool
good first issue

## Scala 2.13.14 ```scala def concat[B >: Char](suffix: IterableOnce[B]): immutable.IndexedSeq[B] = ... def concat(suffix: IterableOnce[Char]): String = ... @`inline` def concat(suffix: String): String = ... /** Alias for `concat` */...

library:collections

## Reproduction steps Scala version: 2.13.15 ```scala //> using options -Xsource:3 import scala.util.chaining.given import scala.concurrent.duration.given class C { def f = 42.tap(println) def g = 42.seconds } ``` ## Problem...

## Reproduction steps Scala version: 2.13.15 ``` $ scala -Xsource:3 Welcome to Scala 2.13.15 -Xsource:3.0.0 (OpenJDK 64-Bit Server VM, Java 21.0.4). Type in expressions for evaluation. Or try :help. scala>...

All iterators over the CHAMP Maps/Sets currently expose a knownSize of -1. Since Maps/Sets cache their size, it should at the very least be possible to track how many calls...

performance
enhancement
library:collections

## Reproduction steps Scala version: 2.13.8 (also in 2.12.15) scalacOptions: `-Wunused:imports` (or `-Xlint:_`) ```scala package example import scala.annotation.{nowarn, showAsInfix} @nowarn class Example(unusedVar: String) ``` ## Problem The position of the...

help wanted
good first issue
errors and warnings

``` scala> case class VCC(x: Int) extends AnyVal class VCC scala> val v = VCC(1) val v: VCC = VCC(1) scala> v.canEqual(v) val res0: Boolean = false scala> v.canEqual(1) val...