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

Unified Diff: pkg/compiler/lib/src/inferrer/simple_types_inferrer.dart

Issue 1152903003: Create SendStructure for unary and binary in resolution. (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 5 years, 7 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
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..c1dd57201f15841b5b1cf26eb296a567e41c74a6 100644
--- a/pkg/compiler/lib/src/inferrer/simple_types_inferrer.dart
+++ b/pkg/compiler/lib/src/inferrer/simple_types_inferrer.dart
@@ -1412,6 +1412,16 @@ class SimpleTypeInferrerVisitor<T>
}
@override
+ T visitSuperNotEquals(
+ ast.Send node,
+ MethodElement method,
+ ast.Node argument,
+ _) {
+ return handleSuperMethodInvoke(
karlklose 2015/05/26 08:23:32 Do we lose track of the ! here or does handleSuper
Johnni Winther 2015/05/26 08:53:11 I think we lose track in SuperEquals and SuperNotE
+ node, method, analyzeArguments(node.arguments));
+ }
+
+ @override
T visitSuperBinary(
ast.Send node,
MethodElement method,

Powered by Google App Engine
This is Rietveld 408576698