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 2de3174c7a14e9d67c40ca8c37a0aaa860f63d7c..e3bdac5f04012ea9547d1802c070bc42183a6f4e 100644 |
--- a/pkg/compiler/lib/src/inferrer/simple_types_inferrer.dart |
+++ b/pkg/compiler/lib/src/inferrer/simple_types_inferrer.dart |
@@ -1501,7 +1501,7 @@ class SimpleTypeInferrerVisitor<T> |
ast.Node receiver, |
Selector selector, |
_) { |
- return visitDynamicSend(node); |
+ return handleDynamicGet(node); |
} |
@override |
@@ -1557,7 +1557,7 @@ class SimpleTypeInferrerVisitor<T> |
ast.Send node, |
Selector selector, |
_) { |
- return visitDynamicSend(node); |
+ return handleDynamicGet(node); |
} |
@override |
@@ -1705,7 +1705,15 @@ class SimpleTypeInferrerVisitor<T> |
sideEffects, inLoop); |
} |
- T visitDynamicSend(ast.Send node) { |
+ T handleDynamicInvoke(ast.Send node) { |
+ return _handleDynamicSend(node); |
+ } |
+ |
+ T handleDynamicGet(ast.Send node) { |
+ return _handleDynamicSend(node); |
+ } |
+ |
+ T _handleDynamicSend(ast.Send node) { |
Element element = elements[node]; |
T receiverType; |
bool isCallOnThis = false; |