aboutsummaryrefslogtreecommitdiff
path: root/tests/neg/cycles.scala
diff options
context:
space:
mode:
authorDmitry Petrashko <dark@d-d.me>2016-02-19 14:13:36 +0100
committerDmitry Petrashko <dark@d-d.me>2016-02-19 14:13:36 +0100
commitea407f143591aa9ffd0fd0f9a25a9ec9e812e76c (patch)
treee21df2017f852a3bc2e45736e5b1bd38a96c35ef /tests/neg/cycles.scala
parent46b7fc713da460023073c9a9d4d25fc2c7acf5e2 (diff)
parent70f5d93898095aa47b8f7bb33de00d415888dfcf (diff)
downloaddotty-ea407f143591aa9ffd0fd0f9a25a9ec9e812e76c.tar.gz
dotty-ea407f143591aa9ffd0fd0f9a25a9ec9e812e76c.tar.bz2
dotty-ea407f143591aa9ffd0fd0f9a25a9ec9e812e76c.zip
Merge pull request #1106 from dotty-staging/neg-lines
Neg tests check files for // error markers (rebased and updated)
Diffstat (limited to 'tests/neg/cycles.scala')
-rw-r--r--tests/neg/cycles.scala8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/neg/cycles.scala b/tests/neg/cycles.scala
index ced6f56b5..11efea625 100644
--- a/tests/neg/cycles.scala
+++ b/tests/neg/cycles.scala
@@ -22,8 +22,8 @@ class C {
class E {
class F {
- type T <: x.type // error: not stable
- val z: x.type = ??? // error: not stable
+ type T <: x.type // old-error: not stable
+ val z: x.type = ??? // old-error: not stable
}
lazy val x: F#T = ???
}
@@ -37,6 +37,6 @@ class T2 {
type U = X | Int
}
object T12 {
- ??? : (T1 {})#U // error: conflicting bounds
- ??? : (T2 {})#U // error: conflicting bounds
+ ??? : (T1 {})#U // old-error: conflicting bounds
+ ??? : (T2 {})#U // old-error: conflicting bounds
}