| Index: pkg/kernel/lib/ast.dart
|
| diff --git a/pkg/kernel/lib/ast.dart b/pkg/kernel/lib/ast.dart
|
| index fa2d18086786c490994e0d73ab078909a8e60dbc..1d8b539ee59ee59b55b8e049a26469c96765aad7 100644
|
| --- a/pkg/kernel/lib/ast.dart
|
| +++ b/pkg/kernel/lib/ast.dart
|
| @@ -3586,6 +3586,9 @@ class VariableDeclaration extends Statement {
|
| int flags = 0;
|
| DartType type; // Not null, defaults to dynamic.
|
|
|
| + /// Offset of the declaration, set and used when writing the binary.
|
| + int binaryOffset = -1;
|
| +
|
| /// For locals, this is the initial value.
|
| /// For parameters, this is the default value.
|
| ///
|
| @@ -4137,6 +4140,9 @@ class TypeParameter extends TreeNode {
|
| /// be set to the root class for type parameters without an explicit bound.
|
| DartType bound;
|
|
|
| + /// Offset of the declaration, set and used when writing the binary.
|
| + int binaryOffset = 0;
|
| +
|
| TypeParameter([this.name, this.bound]);
|
|
|
| accept(TreeVisitor v) => v.visitTypeParameter(this);
|
|
|