Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(666)

Unified Diff: runtime/vm/parser.h

Issue 68333007: Handle undefined field/getter access from arguments to const constructors in metadata, and related … (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | runtime/vm/parser.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/parser.h
diff --git a/runtime/vm/parser.h b/runtime/vm/parser.h
index c1160d400b0fa8a3b1d83e4f0bb510c25274298c..d1f891e758d98c935e6be0acb7e52816b42c4032 100644
--- a/runtime/vm/parser.h
+++ b/runtime/vm/parser.h
@@ -666,6 +666,11 @@ class Parser : public ValueObject {
// global variables.
bool is_top_level_;
+ // True when evaluating metadata. Used to make decisions otherwise based on
+ // the current_function().
+ void set_parsing_metadata(bool value) { parsing_metadata_ = value; }
+ bool parsing_metadata_;
+
// The member currently being parsed during "top level" parsing.
MemberDesc* current_member_;
« no previous file with comments | « no previous file | runtime/vm/parser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698