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

Unified Diff: pkg/analyzer/lib/src/summary/link.dart

Issue 2907023003: Change dependency walker's Node.dependencies to a static getter. (Closed)
Patch Set: Created 3 years, 7 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
« no previous file with comments | « no previous file | pkg/front_end/lib/src/dependency_walker.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analyzer/lib/src/summary/link.dart
diff --git a/pkg/analyzer/lib/src/summary/link.dart b/pkg/analyzer/lib/src/summary/link.dart
index c6ee957c478d260a803b329ef2d75f3c7a70824d..0d8fa92cdb30bc0f9ee3eb3f15bffa5d3e36997f 100644
--- a/pkg/analyzer/lib/src/summary/link.dart
+++ b/pkg/analyzer/lib/src/summary/link.dart
@@ -3422,7 +3422,7 @@ class LibraryDependencyWalker extends DependencyWalker<LibraryNode> {
void evaluateScc(List<LibraryNode> scc) {
Set<LibraryCycleForLink> dependentCycles = new Set<LibraryCycleForLink>();
for (LibraryNode node in scc) {
- for (LibraryNode dependency in node.dependencies) {
+ for (LibraryNode dependency in Node.getDependencies(node)) {
if (dependency.isEvaluated) {
dependentCycles.add(dependency._libraryCycle);
}
« no previous file with comments | « no previous file | pkg/front_end/lib/src/dependency_walker.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698