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

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

Issue 2860733002: Remove ClosedWorld.allFunctions (Closed)
Patch Set: Created 3 years, 8 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/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 78930d74ba5282b1da30f3180c7eef751a8603f8..da5569a404b2663d1668992a5d7795ccc9f3a859 100644
--- a/pkg/compiler/lib/src/inferrer/type_graph_inferrer.dart
+++ b/pkg/compiler/lib/src/inferrer/type_graph_inferrer.dart
@@ -116,7 +116,7 @@ class TypeGraphInferrer implements TypesInferrer {
TypeMask result = const TypeMask.nonNullEmpty();
Iterable<MemberEntity> elements =
- inferrer.closedWorld.allFunctions.filter(selector, mask);
+ inferrer.closedWorld.locateMembers(selector, mask);
for (MemberElement element in elements) {
TypeMask type =
inferrer.typeOfElementWithSelector(element, selector).type;

Powered by Google App Engine
This is Rietveld 408576698