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

Unified Diff: runtime/vm/class_finalizer.cc

Issue 8391007: Complete generic closure type checking. (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.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/class_finalizer.cc
===================================================================
--- runtime/vm/class_finalizer.cc (revision 712)
+++ runtime/vm/class_finalizer.cc (working copy)
@@ -164,7 +164,9 @@
class_name.ToCString(),
interface_name.ToCString(),
function_name.ToCString());
- } else if (class_function.IsSubtypeOf(interface_function)) {
+ } else if (class_function.IsSubtypeOf(TypeArguments::Handle(),
+ interface_function,
+ TypeArguments::Handle())) {
OS::Print("The type of instance method '%s' in class '%s' is not a "
"subtype of the type of '%s' in interface '%s'\n",
function_name.ToCString(),
« no previous file with comments | « no previous file | runtime/vm/object.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698