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

Unified Diff: runtime/vm/object.h

Issue 8360022: Fix member overriding rules in VM according to latest spec. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 9 years, 2 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
Index: runtime/vm/object.h
===================================================================
--- runtime/vm/object.h (revision 591)
+++ runtime/vm/object.h (working copy)
@@ -1316,9 +1316,11 @@
raw_ptr()->has_initializer_ = has_initializer;
}
- // Constructs getter and setter names for fields.
+ // Constructs getter and setter names for fields and vice versa.
static RawString* GetterName(const String& field_name);
static RawString* SetterName(const String& field_name);
+ static RawString* NameFromGetter(const String& getter_name);
+ static RawString* NameFromSetter(const String& setter_name);
private:
void set_name(const String& value) const;

Powered by Google App Engine
This is Rietveld 408576698