From d84805299a42cb8d2c756aff5a117af24dbeaaf4 Mon Sep 17 00:00:00 2001 From: Martin Odersky Date: Mon, 22 Aug 2016 16:18:49 +0200 Subject: Recategorize tests Passing tests from pending/pos go in pos. Some others go in diabled/not-testable. These are tests that require a compilation order which we cannot yet do with our unit testing framework. Compiling them alltogether (as is now doen in junit) does not work either for them because they contain a duplicate class. --- tests/pos-special/t8146a.scala | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 tests/pos-special/t8146a.scala (limited to 'tests/pos-special') diff --git a/tests/pos-special/t8146a.scala b/tests/pos-special/t8146a.scala new file mode 100644 index 000000000..e4eb8d3fd --- /dev/null +++ b/tests/pos-special/t8146a.scala @@ -0,0 +1,9 @@ +trait M[+A] + +object Test { + type Inty = Int + def t1( + x: M[M[M[M[M[M[M[M[M[M[M[M[M[M[M[M[M[M[M[M[M[M[M[M[M[M[M[M[M[M[M[M[M[M[M[M[M[M[M[M[M[M[M[M[M[M[M[M[M[M[M[M[M[M[M[M[M[M[M[M[Int @unchecked]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]] + ): M[M[M[M[M[M[M[M[M[M[M[M[M[M[M[M[M[M[M[M[M[M[M[M[M[M[M[M[M[M[M[M[M[M[M[M[M[M[M[M[M[M[M[M[M[M[M[M[M[M[M[M[M[M[M[M[M[M[M[M[Inty @unchecked]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]] + = x +} -- cgit v1.2.3