Skip to content

Commit 1f46990

Browse files
Fix documentation for
1 parent 0f2fdcb commit 1f46990

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/src/dotty/tools/dotc/ast/DesugarEnums.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ object DesugarEnums {
126126
/** A creation method for a value of enum type `E`, which is defined as follows:
127127
*
128128
* private def $new($tag: Int, $name: String) = new E {
129-
* override def ordinal = $tag
129+
* def ordinal = $tag
130130
* override def toString = $name
131131
* $values.register(this)
132132
* }

0 commit comments

Comments
 (0)