From 42851ed2675015d42bb341b82a09bd0bef4a8ce4 Mon Sep 17 00:00:00 2001 From: Samuel Gruetter Date: Tue, 16 Dec 2014 16:38:09 +0100 Subject: move failing tests from tests/untried/pos to tests/pending/pos --- tests/pending/pos/t6169/t6169.scala | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 tests/pending/pos/t6169/t6169.scala (limited to 'tests/pending/pos/t6169/t6169.scala') diff --git a/tests/pending/pos/t6169/t6169.scala b/tests/pending/pos/t6169/t6169.scala new file mode 100644 index 000000000..84b2d2dad --- /dev/null +++ b/tests/pending/pos/t6169/t6169.scala @@ -0,0 +1,7 @@ +class Test { + class MyExist extends ExistF[MyExist] + // SI-8197, SI-6169: java infers the bounds of existentials, so we have to as well now that SI-1786 is fixed... + def stringy: Exist[_ <: String] = (new Exist[String]).foo + def fbounded: (ExistF[t] forSome {type t <: ExistF[t] }) = (new MyExist).foo + def indir: ExistIndir[_ <: String, _ <: String] = (new ExistIndir[String, String]).foo +} -- cgit v1.2.3