diff options
Diffstat (limited to 'test/files')
-rw-r--r-- | test/files/pos/t4205/1.scala | 3 | ||||
-rw-r--r-- | test/files/pos/t4205/2.scala | 4 |
2 files changed, 7 insertions, 0 deletions
diff --git a/test/files/pos/t4205/1.scala b/test/files/pos/t4205/1.scala new file mode 100644 index 0000000000..4dad790376 --- /dev/null +++ b/test/files/pos/t4205/1.scala @@ -0,0 +1,3 @@ +trait A[OUT[_]] { + null.asInstanceOf[B[OUT]].b1("") +}
\ No newline at end of file diff --git a/test/files/pos/t4205/2.scala b/test/files/pos/t4205/2.scala new file mode 100644 index 0000000000..398fbdecc5 --- /dev/null +++ b/test/files/pos/t4205/2.scala @@ -0,0 +1,4 @@ +trait B[OUT[_]] { + def b1[A](a: A) = b2[OUT] + def b2[OUT1[_]] = () +} |