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 d02edc7 commit d6a4221Copy full SHA for d6a4221
compiler/src/dotty/tools/dotc/transform/init/Semantic.scala
@@ -1674,7 +1674,7 @@ object Semantic:
1674
// The failing case is tests/init/pos/i12544.scala due to promotion failure.
1675
if vdef.symbol.name == nme.DOLLAR_VALUES
1676
&& vdef.symbol.is(Flags.Synthetic)
1677
- && vdef.symbol.owner.companionClass.isAllOf(Flags.Enum)
+ && vdef.symbol.owner.companionClass.is(Flags.Enum)
1678
then
1679
thisV.updateField(vdef.symbol, Hot)
1680
else
0 commit comments