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

Unified Diff: runtime/vm/parser.h

Issue 2953843003: Reintroducing parser changes to cause compile-time errors when trying to reinitialize a final field… (Closed)
Patch Set: Created 3 years, 6 months 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 9dd7e0f260c575af73ce1a4c859a4e2c2c292e7a..3dd35dc5086639796c59b97be1156db912458d66 100644
--- a/runtime/vm/parser.h
+++ b/runtime/vm/parser.h
@@ -563,6 +563,8 @@ class Parser : public ValueObject {
void CheckMemberNameConflict(ClassDesc* members, MemberDesc* member);
void ParseClassMemberDefinition(ClassDesc* members,
TokenPosition metadata_pos);
+ void CheckFinalInitializationConflicts(const ClassDesc* class_desc,
+ const MemberDesc* member);
void ParseParameterType(ParamList* params);
void ParseFormalParameter(bool allow_explicit_default_value,
bool evaluate_metadata,
« 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