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 0f2fdcb commit 1f46990Copy full SHA for 1f46990
compiler/src/dotty/tools/dotc/ast/DesugarEnums.scala
@@ -126,7 +126,7 @@ object DesugarEnums {
126
/** A creation method for a value of enum type `E`, which is defined as follows:
127
*
128
* private def $new($tag: Int, $name: String) = new E {
129
- * override def ordinal = $tag
+ * def ordinal = $tag
130
* override def toString = $name
131
* $values.register(this)
132
* }
0 commit comments