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

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

Issue 1841853002: Fix summary detection of cycles via redirect/super arguments. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 9 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/analyzer/test/src/summary/summary_common.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 4c753313e84b68ffc8844222fd98248cd34f3ae2..474981790302651f38c6c7740fe1cf4afac2d1b1 100644
--- a/pkg/analyzer/lib/src/summary/link.dart
+++ b/pkg/analyzer/lib/src/summary/link.dart
@@ -650,8 +650,9 @@ class ConstConstructorNode extends ConstNode {
constructorElement.enclosingElement.enclosingElement;
collectDependencies(
dependencies, constructorInitializer.expression, compilationUnit);
- constructorInitializer.arguments.map((UnlinkedConst unlinkedConst) =>
- collectDependencies(dependencies, unlinkedConst, compilationUnit));
+ for (UnlinkedConst unlinkedConst in constructorInitializer.arguments) {
+ collectDependencies(dependencies, unlinkedConst, compilationUnit);
+ }
}
if (defaultSuperInvocationNeeded) {
« no previous file with comments | « no previous file | pkg/analyzer/test/src/summary/summary_common.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698