Index: pkg/kernel/lib/binary/ast_to_binary.dart |
diff --git a/pkg/kernel/lib/binary/ast_to_binary.dart b/pkg/kernel/lib/binary/ast_to_binary.dart |
index be192ac8601b6c0bc89dcf91fcbc723adf5d9df4..23eaefd97854a97872b79e9ddfc035fc57c11b1f 100644 |
--- a/pkg/kernel/lib/binary/ast_to_binary.dart |
+++ b/pkg/kernel/lib/binary/ast_to_binary.dart |
@@ -380,7 +380,7 @@ class BinaryPrinter extends Visitor { |
int _encodeClassFlags(bool isAbstract, bool isEnum, |
bool isSyntheticMixinImplementation, ClassLevel level) { |
int abstractFlag = isAbstract ? 1 : 0; |
- int isEnumFlag = isSyntheticMixinImplementation ? 2 : 0; |
+ int isEnumFlag = isEnum ? 2 : 0; |
int isSyntheticMixinImplementationFlag = |
isSyntheticMixinImplementation ? 4 : 0; |
int levelFlags = (level.index - 1) << 3; |