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

Unified Diff: runtime/vm/class_finalizer.h

Issue 340203003: Cleanup of error and warning reporting. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 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 | « runtime/lib/object.cc ('k') | runtime/vm/class_finalizer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/class_finalizer.h
===================================================================
--- runtime/vm/class_finalizer.h (revision 37467)
+++ runtime/vm/class_finalizer.h (working copy)
@@ -162,16 +162,19 @@
static void PrintClassInformation(const Class& cls);
static void CollectInterfaces(const Class& cls,
const GrowableObjectArray& interfaces);
- static void ReportMalformedType(const Error& prev_error,
- const Script& script,
- const Type& type,
- const char* format,
- va_list args);
+ static void MarkTypeMalformed(const Error& prev_error,
+ const Script& script,
+ const Type& type,
+ const char* format,
+ va_list args);
static void ReportError(const Error& error);
- static void ReportError(const Error& prev_error,
- const Script& script,
- intptr_t token_index,
- const char* format, ...) PRINTF_ATTRIBUTE(4, 5);
+ static void ReportError(const Class& cls,
+ intptr_t token_pos,
+ const char* format, ...) PRINTF_ATTRIBUTE(3, 4);
+ static void ReportErrors(const Error& prev_error,
+ const Class& cls,
+ intptr_t token_pos,
+ const char* format, ...) PRINTF_ATTRIBUTE(4, 5);
// Verify implicit offsets recorded in the VM for direct access to fields of
// Dart instances (e.g: _TypedListView, _ByteDataView).
« no previous file with comments | « runtime/lib/object.cc ('k') | runtime/vm/class_finalizer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698