| Index: runtime/vm/kernel.h
|
| diff --git a/runtime/vm/kernel.h b/runtime/vm/kernel.h
|
| index 29f7c7d5d60734673c16c349b907f3cc69897db4..7bc2a48fe55c8cc6d1817a1693877e5232a923ac 100644
|
| --- a/runtime/vm/kernel.h
|
| +++ b/runtime/vm/kernel.h
|
| @@ -2470,10 +2470,13 @@ class VariableDeclaration : public Statement {
|
| DartType* type() { return type_; }
|
| InferredValue* inferred_value() { return inferred_value_; }
|
| Expression* initializer() { return initializer_; }
|
| + TokenPosition equals_position() { return equals_position_; }
|
| TokenPosition end_position() { return end_position_; }
|
|
|
| private:
|
| - VariableDeclaration() : end_position_(TokenPosition::kNoSource) {}
|
| + VariableDeclaration()
|
| + : equals_position_(TokenPosition::kNoSourcePos),
|
| + end_position_(TokenPosition::kNoSource) {}
|
|
|
| template <typename T>
|
| friend class List;
|
| @@ -2483,6 +2486,7 @@ class VariableDeclaration : public Statement {
|
| Child<DartType> type_;
|
| Child<InferredValue> inferred_value_;
|
| Child<Expression> initializer_;
|
| + TokenPosition equals_position_;
|
| TokenPosition end_position_;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(VariableDeclaration);
|
|
|