We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d754d25 commit 49471a0Copy full SHA for 49471a0
tests/neg/default-arg-hygiene.scala
@@ -0,0 +1,5 @@
1
+object Settings {
2
+ def x = 0
3
+}
4
+
5
+case class Settings(value: Double = x) // error
0 commit comments