aboutsummaryrefslogtreecommitdiff
path: root/tests/neg/i1050c.scala
diff options
context:
space:
mode:
Diffstat (limited to 'tests/neg/i1050c.scala')
-rw-r--r--tests/neg/i1050c.scala6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/neg/i1050c.scala b/tests/neg/i1050c.scala
index 7998d864d..19570eb83 100644
--- a/tests/neg/i1050c.scala
+++ b/tests/neg/i1050c.scala
@@ -4,10 +4,10 @@ object Import {
trait B { type L >: Any}
trait U {
lazy val p: B
- locally { val x: p.L = ??? } // error: nonfinal lazy
+ locally { val x: p.L = ??? } // old-error: nonfinal lazy
locally {
- import p._
- val x: L = ??? // error: nonfinal lazy
+ import p._ // error: Import.B(U.this.p) is not a legal path
+ val x: L = ??? // old-error: nonfinal lazy
}
}
}