Index: pkg/kernel/lib/ast.dart |
diff --git a/pkg/kernel/lib/ast.dart b/pkg/kernel/lib/ast.dart |
index 549c063b09f9ef34af401f262e8268ec583dd04d..eb988a582c60476921b12ad5dee5ed133606e031 100644 |
--- a/pkg/kernel/lib/ast.dart |
+++ b/pkg/kernel/lib/ast.dart |
@@ -582,6 +582,9 @@ enum ClassLevel { |
/// rule directly, as doing so can obstruct transformations. It is possible to |
/// transform a mixin application to become a regular class, and vice versa. |
class Class extends NamedNode { |
+ /// Offset of the declaration, set and used when writing the binary. |
+ int binaryOffset = -1; |
+ |
/// The degree to which the contents of the class have been loaded. |
ClassLevel level = ClassLevel.Body; |
@@ -3686,7 +3689,7 @@ class VariableDeclaration extends Statement { |
DartType type; // Not null, defaults to dynamic. |
/// Offset of the declaration, set and used when writing the binary. |
- int binaryOffset = -1; |
+ int binaryOffsetNoTag = -1; |
/// For locals, this is the initial value. |
/// For parameters, this is the default value. |