From df50e05006b43b007c2587549030d24b5c154398 Mon Sep 17 00:00:00 2001 From: Gilles Dubochet Date: Fri, 16 Dec 2005 18:29:42 +0000 Subject: 'test-nsc' has been moved to 'test'. --- test-nsc/files/neg/abstract.check | 7 ------- test-nsc/files/neg/abstract.scala | 9 --------- test-nsc/files/neg/variances.check | 4 ---- test-nsc/files/neg/variances.scala | 4 ---- 4 files changed, 24 deletions(-) delete mode 100644 test-nsc/files/neg/abstract.check delete mode 100644 test-nsc/files/neg/abstract.scala delete mode 100644 test-nsc/files/neg/variances.check delete mode 100644 test-nsc/files/neg/variances.scala (limited to 'test-nsc/files/neg') diff --git a/test-nsc/files/neg/abstract.check b/test-nsc/files/neg/abstract.check deleted file mode 100644 index 1f888dcceb..0000000000 --- a/test-nsc/files/neg/abstract.check +++ /dev/null @@ -1,7 +0,0 @@ -abstract.scala:5 error: malformed type: A.this.T#T - def foo1 = bar().bar(); - ^ -abstract.scala:7 error: malformed type: A#T - def foo3 = baz().bar(); - ^ -two errors found diff --git a/test-nsc/files/neg/abstract.scala b/test-nsc/files/neg/abstract.scala deleted file mode 100644 index 41cfc81309..0000000000 --- a/test-nsc/files/neg/abstract.scala +++ /dev/null @@ -1,9 +0,0 @@ -trait A { - type T <: A; - def baz(): A; - def bar(): T; - def foo1 = bar().bar(); - def foo2 = bar().baz(); - def foo3 = baz().bar(); - def foo4 = baz().baz(); -} diff --git a/test-nsc/files/neg/variances.check b/test-nsc/files/neg/variances.check deleted file mode 100644 index 82d992048b..0000000000 --- a/test-nsc/files/neg/variances.check +++ /dev/null @@ -1,4 +0,0 @@ -variances.scala:2 error: covariant type a occurs in contravariant position in type Vector[a] of value x - def append(x: Vector[a]): Vector[a] - ^ -one error found diff --git a/test-nsc/files/neg/variances.scala b/test-nsc/files/neg/variances.scala deleted file mode 100644 index ebcba21611..0000000000 --- a/test-nsc/files/neg/variances.scala +++ /dev/null @@ -1,4 +0,0 @@ -trait Vector[+a] { - def append(x: Vector[a]): Vector[a] -} - -- cgit v1.2.3