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 2561ce7 commit 0731c24Copy full SHA for 0731c24
tests/init/pos/i15764.scala
@@ -0,0 +1,6 @@
1
+class B(val y: Int):
2
+ println(y) // should not issue a warning here
3
+ foo()
4
+ def foo() = println(y)
5
+
6
+class C(override val y: Int) extends B(y)
0 commit comments