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 ca6b1c6 + 2d02bf1 commit c395b23Copy full SHA for c395b23
compiler/src/dotty/tools/dotc/ast/DesugarEnums.scala
@@ -99,7 +99,7 @@ object DesugarEnums {
99
val privateValuesDef =
100
ValDef(nme.DOLLAR_VALUES, TypeTree(),
101
New(TypeTree(defn.EnumValuesClass.typeRef.appliedTo(enumClass.typeRef :: Nil)), ListOfNil))
102
- .withFlags(Private)
+ .withFlags(Private | Synthetic)
103
104
val valuesOfExnMessage = Apply(
105
Select(Literal(Constant("key not found: ")), "concat".toTermName),
0 commit comments