| Index: runtime/vm/kernel.h
|
| diff --git a/runtime/vm/kernel.h b/runtime/vm/kernel.h
|
| index b3450f6f8f850bf37ab791a211fbd1ed7912a299..b2f69b13432cab19ecee95f705ab486f5447ec2d 100644
|
| --- a/runtime/vm/kernel.h
|
| +++ b/runtime/vm/kernel.h
|
| @@ -2409,10 +2409,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;
|
| @@ -2422,6 +2425,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);
|
|
|