summaryrefslogblamecommitdiff
path: root/test/files/run/sigtp.scala
blob: cd3818410950aae167dd266c866dd868e7d72564 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15














                                                                 
import scala.tools.partest._

trait BugBase [A, E] {
  val key: A
  var next: E = _
}

final class Bug[A, B](val key: A) extends BugBase[A, Bug[A, B]] {
  def foo = next
}

object Test extends App with SigTest {
  show[BugBase[_, _]]()
  show[Bug[_, _]]()
}