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 cdb6250 commit 76f31a6Copy full SHA for 76f31a6
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