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 f4ad535 commit c08ea41Copy full SHA for c08ea41
tests/neg/i2051.scala
@@ -0,0 +1,2 @@
1
+abstract class C { val x: Int }
2
+class D extends C { def x = 1 } // error: method x of type => Int needs to be a stable, immutable value
0 commit comments