aboutsummaryrefslogtreecommitdiff
path: root/tests/run/t7120/Base_1.scala
blob: be07b4f34f93a6bd26528af4c6615f065b4e8b05 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
// This bug doesn't depend on separate compilation,
// in the interests of minimizing the log output during
// debugging this problem, I've split the compilation.

case class Container( v: String )

trait Base[ T <: AnyRef ] {
  type UserType = T
  protected def defect: PartialFunction[ UserType, String ]
}