aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/neg/singletons.scala1
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/neg/singletons.scala b/tests/neg/singletons.scala
index 77e2a924f..3bf7ee050 100644
--- a/tests/neg/singletons.scala
+++ b/tests/neg/singletons.scala
@@ -1,5 +1,4 @@
object Test {
- final val y: 2 = { println("x"); 2 } // error: side effect
val a: 42 = 43 // error: different constant
val x = 42
val z: 42 = x // error: x is not final