diff options
author | vsalvis <salvisbergvera@gmail.com> | 2015-07-10 17:01:35 +0200 |
---|---|---|
committer | VladimirNik <vladimir.nikolaev9@gmail.com> | 2016-02-18 17:54:45 +0100 |
commit | 1ed38673d4c88d573363459d316fdfe275d05025 (patch) | |
tree | 6ae87391dab765853b97c81dfa4f05bbba2e527b /tests/neg/cycles.scala | |
parent | 4be70a5a8469c1355c84bef70936a81f899a9678 (diff) | |
download | dotty-1ed38673d4c88d573363459d316fdfe275d05025.tar.gz dotty-1ed38673d4c88d573363459d316fdfe275d05025.tar.bz2 dotty-1ed38673d4c88d573363459d316fdfe275d05025.zip |
Negtests with // error comments
Diffstat (limited to 'tests/neg/cycles.scala')
-rw-r--r-- | tests/neg/cycles.scala | 8 |
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 } |