From 1ed38673d4c88d573363459d316fdfe275d05025 Mon Sep 17 00:00:00 2001 From: vsalvis Date: Fri, 10 Jul 2015 17:01:35 +0200 Subject: Negtests with // error comments --- tests/neg/cycles.scala | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'tests/neg/cycles.scala') 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 } -- cgit v1.2.3