Index: runtime/vm/kernel.h |
diff --git a/runtime/vm/kernel.h b/runtime/vm/kernel.h |
index a2f16b638106e89e3eb162bde2c63d67a308744e..9832194b7fcc1a4f3101a41ed08bcc2828196db3 100644 |
--- a/runtime/vm/kernel.h |
+++ b/runtime/vm/kernel.h |
@@ -1006,6 +1006,7 @@ class Expression : public TreeNode { |
virtual void AcceptTreeVisitor(TreeVisitor* visitor); |
virtual void AcceptExpressionVisitor(ExpressionVisitor* visitor) = 0; |
TokenPosition position() { return position_; } |
+ void set_position(TokenPosition position) { position_ = position; } |
protected: |
Expression() : position_(TokenPosition::kNoSource) {} |