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

Unified Diff: pkg/compiler/lib/src/deferred_load.dart

Issue 2995763003: Fix deferred bug: when type argument is never instantiated (Closed)
Patch Set: add status file Created 3 years, 4 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/deferred_load.dart
diff --git a/pkg/compiler/lib/src/deferred_load.dart b/pkg/compiler/lib/src/deferred_load.dart
index 155c54dc39a247e03d71e6503ebdc1162db6b85c..8ae7e19166efd80915ac7c724b9fd8a85971a6d3 100644
--- a/pkg/compiler/lib/src/deferred_load.dart
+++ b/pkg/compiler/lib/src/deferred_load.dart
@@ -320,6 +320,7 @@ class DeferredLoadTask extends CompilerTask {
collectTypeDependencies(type.unaliased);
} else if (type is ResolutionInterfaceType) {
elements.add(type.element);
+ collectTypeDependencies(type.element.supertype);
}
}
« no previous file with comments | « no previous file | tests/compiler/dart2js_extra/dart2js_extra.status » ('j') | tests/compiler/dart2js_extra/dart2js_extra.status » ('J')

Powered by Google App Engine
This is Rietveld 408576698