We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 126aa19 commit 3b239f8Copy full SHA for 3b239f8
tests/init/pos/i12544.scala renamed to tests/init/neg/i12544.scala
@@ -2,7 +2,7 @@ enum Enum:
2
case Case
3
4
object Enum:
5
- object nested:
+ object nested: // error
6
val a: Enum = Case
7
8
val b: Enum = f(nested.a)
0 commit comments