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

Unified Diff: runtime/vm/object.h

Issue 2835513002: Process generic function type arguments in more places (function type tests, (Closed)
Patch Set: address comments Created 3 years, 8 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/vm/flag_list.h ('k') | 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
diff --git a/runtime/vm/object.h b/runtime/vm/object.h
index 3a0721e7d8f0c0847c45c25bdabad448a80fbda0..8eb2146c58adbeffbe6961dce0d9990c5343ced6 100644
--- a/runtime/vm/object.h
+++ b/runtime/vm/object.h
@@ -2283,6 +2283,10 @@ class Function : public Object {
return NumTypeParameters(Thread::Current());
}
+ // Returns true if this function has the same number of type parameters with
+ // equal bounds as the other function. Type parameter names are ignored.
+ bool HasSameTypeParametersAndBounds(const Function& other) const;
+
// Return the number of type parameters declared in parent generic functions.
intptr_t NumParentTypeParameters() const;
« no previous file with comments | « runtime/vm/flag_list.h ('k') | runtime/vm/object.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698