aboutsummaryrefslogtreecommitdiff
path: root/tests/pos/t1569.scala
blob: a7200a6d1ebc06274dfbd3b5f74d95357d9eda60 (plain) (blame)
1
2
3
4
5
object Bug {
  class C { type T }
  def foo(x: Int)(y: C)(z: y.T): Unit = {}
  foo(3)(new C { type T = String })("hello")
}