aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2014-05-06 10:34:40 +0200
committerSamuel Gruetter <samuel.gruetter@epfl.ch>2014-05-20 13:38:48 +0200
commit2d3c79f7cf3e79b592c7e479d262e8d3f9b04959 (patch)
tree34fe9918f20f17f2426a1dc47c6678a863f20f33 /tests
parent093774e181e878308551226f6a0b990bf7de8077 (diff)
downloaddotty-2d3c79f7cf3e79b592c7e479d262e8d3f9b04959.tar.gz
dotty-2d3c79f7cf3e79b592c7e479d262e8d3f9b04959.tar.bz2
dotty-2d3c79f7cf3e79b592c7e479d262e8d3f9b04959.zip
Tests pos 20xx 21xx
Diffstat (limited to 'tests')
-rw-r--r--tests/disabled/not-representable/pos/t2066-2.10-compat.scala (renamed from tests/untried/pos/t2066-2.10-compat.scala)1
-rw-r--r--tests/disabled/not-representable/pos/t2066.scala (renamed from tests/untried/pos/t2066.scala)0
-rwxr-xr-xtests/pending/pos/t2060.scala (renamed from tests/untried/pos/t2060.scala)0
-rw-r--r--tests/pos/t201.scala (renamed from tests/untried/pos/t201.scala)0
-rw-r--r--tests/pos/t2018.scala (renamed from tests/untried/pos/t2018.scala)0
-rw-r--r--tests/pos/t2023.scala (renamed from tests/untried/pos/t2023.scala)0
-rw-r--r--tests/pos/t2038.scala (renamed from tests/untried/pos/t2038.scala)0
-rw-r--r--tests/pos/t2081.scala (renamed from tests/untried/pos/t2081.scala)0
-rwxr-xr-xtests/pos/t2082.scala (renamed from tests/untried/pos/t2082.scala)0
-rw-r--r--tests/pos/t2094.scala (renamed from tests/untried/pos/t2094.scala)0
-rw-r--r--tests/pos/t210.scala (renamed from tests/untried/pos/t210.scala)0
-rw-r--r--tests/pos/t211.scala (renamed from tests/untried/pos/t211.scala)0
-rw-r--r--tests/pos/t2119.scala (renamed from tests/untried/pos/t2119.scala)0
-rw-r--r--tests/pos/t2127.scala (renamed from tests/untried/pos/t2127.scala)0
-rw-r--r--tests/pos/t2130-1.scala (renamed from tests/untried/pos/t2130-1.scala)0
-rw-r--r--tests/pos/t2130-2.scala (renamed from tests/untried/pos/t2130-2.scala)0
-rw-r--r--tests/pos/t2168.scala (renamed from tests/untried/pos/t2168.scala)0
-rw-r--r--tests/pos/t2171.flags (renamed from tests/untried/pos/t2171.flags)0
-rw-r--r--tests/pos/t2171.scala (renamed from tests/untried/pos/t2171.scala)0
-rwxr-xr-xtests/pos/t2179.scala (renamed from tests/untried/pos/t2179.scala)0
-rw-r--r--tests/pos/t2183.scala (renamed from tests/untried/pos/t2183.scala)0
-rw-r--r--tests/pos/t2187-2.scala (renamed from tests/untried/pos/t2187-2.scala)0
-rw-r--r--tests/pos/t2187.scala (renamed from tests/untried/pos/t2187.scala)0
-rw-r--r--tests/pos/t2194.scala (renamed from tests/untried/pos/t2194.scala)0
-rw-r--r--tests/untried/pos/t2066-2.10-compat.flags1
-rw-r--r--tests/untried/pos/t2133.scala18
26 files changed, 1 insertions, 19 deletions
diff --git a/tests/untried/pos/t2066-2.10-compat.scala b/tests/disabled/not-representable/pos/t2066-2.10-compat.scala
index fb8103e4a..9cbf0092a 100644
--- a/tests/untried/pos/t2066-2.10-compat.scala
+++ b/tests/disabled/not-representable/pos/t2066-2.10-compat.scala
@@ -33,6 +33,7 @@ trait B3 extends A3 {
override def f[T[_]] = () // okay
}
+// These nested higher-kinded types are not parsable in Dotty=
trait C3 extends A3 {
override def f[T[-_]] = ()
}
diff --git a/tests/untried/pos/t2066.scala b/tests/disabled/not-representable/pos/t2066.scala
index 30cb99d45..30cb99d45 100644
--- a/tests/untried/pos/t2066.scala
+++ b/tests/disabled/not-representable/pos/t2066.scala
diff --git a/tests/untried/pos/t2060.scala b/tests/pending/pos/t2060.scala
index 0b9079062..0b9079062 100755
--- a/tests/untried/pos/t2060.scala
+++ b/tests/pending/pos/t2060.scala
diff --git a/tests/untried/pos/t201.scala b/tests/pos/t201.scala
index b0c6b8da4..b0c6b8da4 100644
--- a/tests/untried/pos/t201.scala
+++ b/tests/pos/t201.scala
diff --git a/tests/untried/pos/t2018.scala b/tests/pos/t2018.scala
index 198b4be42..198b4be42 100644
--- a/tests/untried/pos/t2018.scala
+++ b/tests/pos/t2018.scala
diff --git a/tests/untried/pos/t2023.scala b/tests/pos/t2023.scala
index 21c6fc96a..21c6fc96a 100644
--- a/tests/untried/pos/t2023.scala
+++ b/tests/pos/t2023.scala
diff --git a/tests/untried/pos/t2038.scala b/tests/pos/t2038.scala
index 8c8ca44da..8c8ca44da 100644
--- a/tests/untried/pos/t2038.scala
+++ b/tests/pos/t2038.scala
diff --git a/tests/untried/pos/t2081.scala b/tests/pos/t2081.scala
index 395134f71..395134f71 100644
--- a/tests/untried/pos/t2081.scala
+++ b/tests/pos/t2081.scala
diff --git a/tests/untried/pos/t2082.scala b/tests/pos/t2082.scala
index a7ee3789b..a7ee3789b 100755
--- a/tests/untried/pos/t2082.scala
+++ b/tests/pos/t2082.scala
diff --git a/tests/untried/pos/t2094.scala b/tests/pos/t2094.scala
index 6b6c4f077..6b6c4f077 100644
--- a/tests/untried/pos/t2094.scala
+++ b/tests/pos/t2094.scala
diff --git a/tests/untried/pos/t210.scala b/tests/pos/t210.scala
index f0b907aa5..f0b907aa5 100644
--- a/tests/untried/pos/t210.scala
+++ b/tests/pos/t210.scala
diff --git a/tests/untried/pos/t211.scala b/tests/pos/t211.scala
index d51c9706d..d51c9706d 100644
--- a/tests/untried/pos/t211.scala
+++ b/tests/pos/t211.scala
diff --git a/tests/untried/pos/t2119.scala b/tests/pos/t2119.scala
index b9cb4d9c6..b9cb4d9c6 100644
--- a/tests/untried/pos/t2119.scala
+++ b/tests/pos/t2119.scala
diff --git a/tests/untried/pos/t2127.scala b/tests/pos/t2127.scala
index 88cc9e708..88cc9e708 100644
--- a/tests/untried/pos/t2127.scala
+++ b/tests/pos/t2127.scala
diff --git a/tests/untried/pos/t2130-1.scala b/tests/pos/t2130-1.scala
index 8dd61c4d3..8dd61c4d3 100644
--- a/tests/untried/pos/t2130-1.scala
+++ b/tests/pos/t2130-1.scala
diff --git a/tests/untried/pos/t2130-2.scala b/tests/pos/t2130-2.scala
index 1d0b33c3e..1d0b33c3e 100644
--- a/tests/untried/pos/t2130-2.scala
+++ b/tests/pos/t2130-2.scala
diff --git a/tests/untried/pos/t2168.scala b/tests/pos/t2168.scala
index 21afb239a..21afb239a 100644
--- a/tests/untried/pos/t2168.scala
+++ b/tests/pos/t2168.scala
diff --git a/tests/untried/pos/t2171.flags b/tests/pos/t2171.flags
index eb4d19bcb..eb4d19bcb 100644
--- a/tests/untried/pos/t2171.flags
+++ b/tests/pos/t2171.flags
diff --git a/tests/untried/pos/t2171.scala b/tests/pos/t2171.scala
index 6c754c76a..6c754c76a 100644
--- a/tests/untried/pos/t2171.scala
+++ b/tests/pos/t2171.scala
diff --git a/tests/untried/pos/t2179.scala b/tests/pos/t2179.scala
index 89e22b6e2..89e22b6e2 100755
--- a/tests/untried/pos/t2179.scala
+++ b/tests/pos/t2179.scala
diff --git a/tests/untried/pos/t2183.scala b/tests/pos/t2183.scala
index 1243568b6..1243568b6 100644
--- a/tests/untried/pos/t2183.scala
+++ b/tests/pos/t2183.scala
diff --git a/tests/untried/pos/t2187-2.scala b/tests/pos/t2187-2.scala
index 506cc496f..506cc496f 100644
--- a/tests/untried/pos/t2187-2.scala
+++ b/tests/pos/t2187-2.scala
diff --git a/tests/untried/pos/t2187.scala b/tests/pos/t2187.scala
index 8a3353154..8a3353154 100644
--- a/tests/untried/pos/t2187.scala
+++ b/tests/pos/t2187.scala
diff --git a/tests/untried/pos/t2194.scala b/tests/pos/t2194.scala
index e87be509d..e87be509d 100644
--- a/tests/untried/pos/t2194.scala
+++ b/tests/pos/t2194.scala
diff --git a/tests/untried/pos/t2066-2.10-compat.flags b/tests/untried/pos/t2066-2.10-compat.flags
deleted file mode 100644
index 94c805674..000000000
--- a/tests/untried/pos/t2066-2.10-compat.flags
+++ /dev/null
@@ -1 +0,0 @@
--Xsource:2.10
diff --git a/tests/untried/pos/t2133.scala b/tests/untried/pos/t2133.scala
deleted file mode 100644
index c74d0a4bb..000000000
--- a/tests/untried/pos/t2133.scala
+++ /dev/null
@@ -1,18 +0,0 @@
-trait Foo {
- object bar {
- private[this] def fn() = 5
- }
-}
-
-trait Foo2 {
- object bip {
- def fn() = 10
- }
-}
-
-class Bob extends AnyRef with Foo with Foo2 {
- import bip._
- import bar._
-
- def go() = fn()
-}