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

It will have a new tasty minor version so will be rejected by nsc.

blocker
tastyreader

Named and default arguments have been introduced in Scala 2.8, and were outlined in [SIP #1](https://docs.scala-lang.org/sips/named-and-default-arguments.html). An important scenario has been overlooked in the SIP, which is to define interaction...

help wanted
patmat
enhancement

When compiling a mix of Java and Scala files, scalac will report an error on otherwise valid Java files. To reproduce, create 2 files: Foo.java: ```java public class Foo

help wanted
java interop

## Reproduction steps Scala version: 2.13.8 ```scala object NonFinitary { trait BadJoke[V, +T] trait Root[V] extends Fog[V] //extends BadJoke[V, Another[V]] trait Another[V] extends Root[Option[V]] type Fog[V] = BadJoke[V, Another[V]] }...

I was hoping to deprecate a package object ("what? already?") since the whole package has moved and that would be the cleanest way to deprecate the forwarding stubs, but: ```scala...

help wanted
has PR
minimized

## Reproduction steps Scala version: 2.13.8 ```scala ➜ scalac -d /tmp -Xlint t12591.scala error: error while loading A, Missing dependency 'Add -Ytasty-reader to scalac options to parse the TASTy in...

tastyreader

related https://youtrack.jetbrains.com/issue/SCL-20190 might be related: https://github.com/scala/bug/issues/11554 ## Reproduction steps ```scala ThisBuild / version := "0.1.0-SNAPSHOT" ThisBuild / scalaVersion := "2.12.15" lazy val root = (project in file(".")) .settings( name :=...

help wanted
access

## Reproduction steps Ok, this little pos is a bit complex: ```scala trait POS[O] { type Value } trait BigPOS[V, O] extends POS[O] { type Value = V } trait...

f-bounds
compiler crash

## Reproduction steps Scala version: 2.13.7 ```scala class Private { private type Curry[A] = { type T[B] = Either[A, B] } def m2[T[A]] :Unit = () m2[Curry[Int]#T] } ``` ##...

help wanted
lint
errors and warnings

## Reproduction steps Scala version: 2.13.7 ```scala type Fixed[F] >: F { type T >: Fixed[F]

compiler crash
fixed in Scala 3