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

Unified Diff: runtime/vm/class_finalizer.cc

Issue 9433047: Fix typo in --verify_implements functionality (issue 1291). (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 10 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 | no next file » | 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 4479)
+++ runtime/vm/class_finalizer.cc (working copy)
@@ -168,9 +168,9 @@
class_name.ToCString(),
interface_name.ToCString(),
function_name.ToCString());
- } else if (class_function.IsSubtypeOf(TypeArguments::Handle(),
- interface_function,
- TypeArguments::Handle())) {
+ } 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 | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698