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

Unified Diff: runtime/vm/class_finalizer.h

Issue 22685007: Implement updated method overriding rules in the vm. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 4 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/class_finalizer.h
===================================================================
--- runtime/vm/class_finalizer.h (revision 25979)
+++ runtime/vm/class_finalizer.h (working copy)
@@ -76,8 +76,13 @@
// in the object store.
static bool FinalizePendingClasses();
+ // Finalize the types appearing in the declaration of class cls, i.e. its
siva 2013/08/12 02:56:43 class 'cls',
regis 2013/08/12 17:45:27 Done.
+ // type parameters and their upper bounds, its super type and interfaces.
+ // Note that the fields and functions have not been parsed yet (unless cls
+ // is an anonymous top level class).
static void FinalizeTypesInClass(const Class& cls);
+ // Finalize the class including its fields and functions.
static void FinalizeClass(const Class& cls);
// Verify that the classes have been properly prefinalized. This is
@@ -141,9 +146,10 @@
const char* format,
va_list args);
static void ReportError(const Error& error);
- static void ReportError(const Script& script,
+ static void ReportError(const Error& prev_error,
+ const Script& script,
intptr_t token_index,
- const char* format, ...) PRINTF_ATTRIBUTE(3, 4);
+ const char* format, ...) PRINTF_ATTRIBUTE(4, 5);
static void ReportError(const char* format, ...) PRINTF_ATTRIBUTE(1, 2);
// Verify implicit offsets recorded in the VM for direct access to fields of

Powered by Google App Engine
This is Rietveld 408576698