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

I'm using following definition to show difference in way compiler handles cake pattern and normal imports: trait Bound { type Param type Kind[P

typer

Take the following expression: ```scala @ desugar { def foo: String = { lazy val hello: String = {println("HA"); ""} def inner: String = { val unused = hello ""...

Consider the following snippet. Casting to existential causing the error "can't existentially abstract over parameterized type F". `test1` fails for both scala 2.10 and 2.11 `test2` works for 2.10 but...

typer
tcpoly
existential

The following code fails to compile. The failure happens when a method has a default parameter, has a return type depending on one of its parameters; when the method itself...

named/default args
should compile
fixed in Scala 3

Run `scaladoc -groups` for the following class: ```scala /** * See [[boppy]]. * * @groupname stuff Stuff */ trait Bippy { /** * Boppy. * @group stuff */ def boppy:...

scaladoc tool

Seems you can't define a value class's value as implicit: ```scala class IntW(implicit val n: Int) extends AnyVal ``` --- ```scala Foo.scala:1: error: value class may not be a member...

valueclass
fixed in Scala 3

Not sure if it's a bug, or if there are fundamental reasons why inference cannot succeed. ```scala object Q { def f[T, F[X

typer

In my opinion the `RichXYZ` classes should be moved outside of the `runtime` package. The `runtime` package is not supposed to be part of the public API. _Originally posted by...

library

```scala trait Iterable[+S] trait Box[U] trait A { type T

existential
fixed in Scala 3