aboutsummaryrefslogblamecommitdiff
path: root/tests/pos/t1569.scala
blob: 5e48c03b114fc2300e1506b3ebc6492b65d66ab5 (plain) (tree)
1
2
3
4
5
6





                                                       
// See pos/t1569a.scala for related examples that work.
object Bug {
  class C { type T }
  def foo(x: Int)(y: C)(z: y.T): Unit = {}
  foo(3)(new C { type T = String })("hello")
}