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.
2 parents bfd5c89 + 76757ba commit 4239950Copy full SHA for 4239950
tests/neg/i5019.scala
@@ -0,0 +1,3 @@
1
+enum A { // error
2
+ def newA(tag: Int) = new A { val enumTag = tag } // error
3
+}
0 commit comments