Index: pkg/kernel/lib/binary/ast_from_binary.dart |
diff --git a/pkg/kernel/lib/binary/ast_from_binary.dart b/pkg/kernel/lib/binary/ast_from_binary.dart |
index 04c4b6906effe0196f76caa9b8db05de0f9b155e..d0fe30e099aab95914b7fd4497dfa0be0343d1fb 100644 |
--- a/pkg/kernel/lib/binary/ast_from_binary.dart |
+++ b/pkg/kernel/lib/binary/ast_from_binary.dart |
@@ -463,8 +463,9 @@ class BinaryBuilder { |
node.fileEndOffset = readOffset(); |
int flags = readByte(); |
node.isAbstract = flags & 0x1 != 0; |
- node.isSyntheticMixinImplementation = flags & 0x2 != 0; |
- int levelIndex = (flags >> 2) & 0x3; |
+ node.isEnum = flags & 0x2 != 0; |
+ node.isSyntheticMixinImplementation = flags & 0x4 != 0; |
+ int levelIndex = (flags >> 3) & 0x3; |
var level = ClassLevel.values[levelIndex + 1]; |
if (level.index >= node.level.index) { |
node.level = level; |