Index: pkg/analyzer_experimental/lib/src/generated/constant.dart |
diff --git a/pkg/analyzer_experimental/lib/src/generated/constant.dart b/pkg/analyzer_experimental/lib/src/generated/constant.dart |
index 3196a6fe08af1cd8b0f46c7df95bac4fe986637e..9ff784526da035b286098bb8bb9813e03e689045 100644 |
--- a/pkg/analyzer_experimental/lib/src/generated/constant.dart |
+++ b/pkg/analyzer_experimental/lib/src/generated/constant.dart |
@@ -636,10 +636,8 @@ class DirectedGraph<N> { |
* @return a sink node |
*/ |
N findSink() { |
- for (MapEntry<N, Set<N>> entry in getMapEntrySet(_edges)) { |
- if (entry.getValue().isEmpty) { |
- return entry.getKey(); |
- } |
+ for (N key in _edges.keys) { |
+ if (_edges[key].isEmpty) return key; |
} |
return null; |
} |