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

Unified Diff: runtime/vm/class_finalizer.h

Issue 9325047: Add token index position to classes and types for more accurate error reporting. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 11 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/class_finalizer.cc » ('j') | runtime/vm/dart_api_impl_test.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/class_finalizer.h
===================================================================
--- runtime/vm/class_finalizer.h (revision 3925)
+++ runtime/vm/class_finalizer.h (working copy)
@@ -42,10 +42,8 @@
AbstractType* conflicting);
// Finalize and canonicalize type while parsing class cls.
- // Set the error message on failure (to Error::null() if no error).
- static RawAbstractType* FinalizeAndCanonicalizeType(const Class& cls,
- const AbstractType& type,
- Error* error);
+ static RawAbstractType* FinalizeType(const Class& cls,
+ const AbstractType& type);
siva 2012/02/06 18:13:08 Why not call it FinalizeAndCanonicalizeType ?
regis 2012/02/06 19:43:16 Not all types are canonicalized (e.g. ParameterTyp
// Pending classes are classes that need to be finalized.
static void AddPendingClasses(const GrowableArray<const Class*>& classes);
@@ -82,8 +80,6 @@
static void FinalizeTypeArguments(const Class& cls,
const AbstractTypeArguments& arguments);
static void ResolveType(const Class& cls, const AbstractType& type);
- static RawAbstractType* FinalizeType(const Class& cls,
- const AbstractType& type);
static void ResolveAndFinalizeUpperBounds(const Class& cls);
static void VerifyUpperBounds(const Class& cls,
const AbstractTypeArguments& arguments);
« no previous file with comments | « no previous file | runtime/vm/class_finalizer.cc » ('j') | runtime/vm/dart_api_impl_test.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698