From 955b04a41ccefeac6bfec0158991c152165be6eb Mon Sep 17 00:00:00 2001 From: VladimirNik Date: Thu, 18 Feb 2016 18:10:35 +0100 Subject: Adapt neg tests to new neg tests checks --- tests/neg/i1050c.scala | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tests/neg/i1050c.scala') 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 } } } -- cgit v1.2.3