diff options
author | VladimirNik <vladimir.nikolaev9@gmail.com> | 2016-02-18 18:10:35 +0100 |
---|---|---|
committer | VladimirNik <vladimir.nikolaev9@gmail.com> | 2016-02-18 18:11:46 +0100 |
commit | 955b04a41ccefeac6bfec0158991c152165be6eb (patch) | |
tree | 1aa3649b0997b865c9dd4c2aa02bb4a9a6e37efb /tests/neg/i1050c.scala | |
parent | 5fc321ffaa0a0b6b997c0fdecf1a86590474d812 (diff) | |
download | dotty-955b04a41ccefeac6bfec0158991c152165be6eb.tar.gz dotty-955b04a41ccefeac6bfec0158991c152165be6eb.tar.bz2 dotty-955b04a41ccefeac6bfec0158991c152165be6eb.zip |
Adapt neg tests to new neg tests checks
Diffstat (limited to 'tests/neg/i1050c.scala')
-rw-r--r-- | tests/neg/i1050c.scala | 6 |
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 } } } |