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

Unified Diff: runtime/vm/parser.h

Issue 2947043002: Updated parser to produce error when trying to reinitialize final variables in class constructors. … (Closed)
Patch Set: Added issue #'s to status file updates, fixed language const_error_multiply test 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