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

Unified Diff: runtime/vm/object.h

Issue 8375033: Fix wrong detection of duplicate definition of function types (issue 187). (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
« no previous file with comments | « no previous file | runtime/vm/object.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/object.h
===================================================================
--- runtime/vm/object.h (revision 657)
+++ runtime/vm/object.h (working copy)
@@ -481,6 +481,10 @@
return signature_function() != Object::null();
}
+ // Check if this class represents a canonical signature class, i.e. not an
+ // alias as defined in a typedef.
+ bool IsCanonicalSignatureClass() const;
+
// Check the "more specific than" relationship.
bool IsMoreSpecificThan(const TypeArguments& type_arguments,
const Class& other,
@@ -589,8 +593,7 @@
// class of signature_function.
static RawClass* NewSignatureClass(const String& name,
const Function& signature_function,
- const Script& script,
- intptr_t token_index);
+ const Script& script);
// Return a class object corresponding to the specified kind. If
// a canonicalized version of it exists then that object is returned
« no previous file with comments | « no previous file | runtime/vm/object.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698