-
Compiling the code below
```scala
class Foo[A] {
class Bar[B >: A](x: B) extends Foo[B]
}
object bug {
new Foo[Int]#Bar(0)
}
```
produces the following exception (2.7.x and trunk):
```scala
Except…
-
```scala
object Test {
trait T { self0 =>
trait U { self1 =>
type X
def /*T*/$$init$$(): Unit = {
()
};
abstract trait U extends java.lang.Object with ScalaObject { self…
-
Tested with version 2.8.0.RC1.
Example code:
```scala
package test
package p {
class A(a: String = "")
}
package object po {
type A = p.A
}
import po._
class C {
val a = new A
}
```
In the…
-
I am not really sure if this is a bug or not, but another programmer said it was and told me to report it here.
I had a missing ) and several lines later an extra ). This was in Lift code. I got the …
-
Affected scala version: trunk, version 2.9.0.r23164-b20101001201054
The following code (see below), which uses specialization crashes the scala compiler from trunk (see stack trace at the bottom). If…