Index: runtime/vm/scopes.h |
diff --git a/runtime/vm/scopes.h b/runtime/vm/scopes.h |
index 12b7e18fc43ce7054b873e2701cec2704ee45a57..75f837c2bf37248348cec227a138daa12b02fd6f 100644 |
--- a/runtime/vm/scopes.h |
+++ b/runtime/vm/scopes.h |
@@ -175,6 +175,10 @@ class SourceLabel : public ZoneAllocated { |
void ResolveForwardReference() { kind_ = kCase; } |
private: |
+ // TODO(zerny): Remove this hack when the builder no longer stores state in |
+ // the ast/scopes. |
+ friend class SourceLabelResetter; |
+ |
const intptr_t token_pos_; |
const String& name_; |
LocalScope* owner_; // Local scope declaring this label. |