Index: pkg/analyzer/lib/src/generated/static_type_analyzer.dart |
diff --git a/pkg/analyzer/lib/src/generated/static_type_analyzer.dart b/pkg/analyzer/lib/src/generated/static_type_analyzer.dart |
index 9a0c882a9c2efe6aec5e8253d3dde5ed2b3178fd..063cd3955c593f5222fb4f009d91e714c79acab9 100644 |
--- a/pkg/analyzer/lib/src/generated/static_type_analyzer.dart |
+++ b/pkg/analyzer/lib/src/generated/static_type_analyzer.dart |
@@ -1822,9 +1822,6 @@ class StaticTypeAnalyzer extends SimpleAstVisitor<Object> { |
bool _inferMethodInvocationGeneric(MethodInvocation node) { |
Element element = node.methodName.staticElement; |
DartType fnType = node.methodName.staticType; |
- if (element is ExecutableElement && fnType.element is! ExecutableElement) { |
- print("Element is $element and function type is $fnType"); |
- } |
TypeSystem ts = _typeSystem; |
// TODO(jmesserly): once we allow explicitly passed typeArguments, we need |
// to only do this if node.typeArguments == null. |