diff options
Diffstat (limited to 'tests/untried/pos/t1569.scala')
-rw-r--r-- | tests/untried/pos/t1569.scala | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/untried/pos/t1569.scala b/tests/untried/pos/t1569.scala new file mode 100644 index 000000000..a7200a6d1 --- /dev/null +++ b/tests/untried/pos/t1569.scala @@ -0,0 +1,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") +} |