We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e8b05e2 commit 2334158Copy full SHA for 2334158
tests/neg/i1050c.scala
@@ -4,7 +4,7 @@ object Import {
4
trait B { type L >: Any}
5
trait U {
6
lazy val p: B
7
- locally { val x: p.L = ??? } // old-error: nonfinal lazy
+ locally { val x: p.L = ??? } // error: nonfinal lazy
8
locally {
9
import p._ // error: Import.B(U.this.p) is not a legal path
10
val x: L = ??? // old-error: nonfinal lazy
0 commit comments