Index: pkg/compiler/lib/src/inferrer/type_graph_inferrer.dart |
diff --git a/pkg/compiler/lib/src/inferrer/type_graph_inferrer.dart b/pkg/compiler/lib/src/inferrer/type_graph_inferrer.dart |
index 42c6913143d0ffee44a14633928f3268dc0e5c95..2308e41feb7e67619bf285dc17f1b201a8a5350f 100644 |
--- a/pkg/compiler/lib/src/inferrer/type_graph_inferrer.dart |
+++ b/pkg/compiler/lib/src/inferrer/type_graph_inferrer.dart |
@@ -1381,7 +1381,7 @@ class TypeGraphInferrer implements TypesInferrer { |
return inferrer.types.getInferredTypeOf(element).type; |
} |
- TypeMask getTypeForNewList(Element owner, ast.Node node) { |
+ TypeMask getTypeOfNode(Element owner, ast.Node node) { |
if (compiler.disableTypeInference) return _dynamicType; |
return inferrer.types.allocatedLists[node].type; |
} |