Index: pkg/compiler/lib/src/inferrer/simple_types_inferrer.dart |
diff --git a/pkg/compiler/lib/src/inferrer/simple_types_inferrer.dart b/pkg/compiler/lib/src/inferrer/simple_types_inferrer.dart |
index f321037e7859e8a63e9e2fb2248fc5ad3415074d..c8674b74789bec0f94a0e5faaab8945af02908aa 100644 |
--- a/pkg/compiler/lib/src/inferrer/simple_types_inferrer.dart |
+++ b/pkg/compiler/lib/src/inferrer/simple_types_inferrer.dart |
@@ -1407,6 +1407,18 @@ class SimpleTypeInferrerVisitor<T> |
MethodElement method, |
ast.Node argument, |
_) { |
+ // TODO(johnniwinther): Special case ==. |
+ return handleSuperMethodInvoke( |
+ node, method, analyzeArguments(node.arguments)); |
+ } |
+ |
+ @override |
+ T visitSuperNotEquals( |
+ ast.Send node, |
+ MethodElement method, |
+ ast.Node argument, |
+ _) { |
+ // TODO(johnniwinther): Special case !=. |
return handleSuperMethodInvoke( |
node, method, analyzeArguments(node.arguments)); |
} |