aboutsummaryrefslogtreecommitdiff
path: root/tests/neg/cycles.scala
diff options
context:
space:
mode:
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
}