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

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

Issue 1395183004: dart2js: mark FunctionElements as dependencies always (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 2 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 937e620ef9a1c5d92aa6db17a7d585e3066992fc..7ce74a03eca554e328f24932b00b596fc8a87ff3 100644
--- a/pkg/compiler/lib/src/deferred_load.dart
+++ b/pkg/compiler/lib/src/deferred_load.dart
@@ -341,8 +341,7 @@ class DeferredLoadTask extends CompilerTask {
}
}
- if (element is FunctionElement &&
- compiler.resolverWorld.closurizedMembers.contains(element)) {
Siggi Cherem (dart-lang) 2015/10/12 22:53:28 mmm - would this pull in more than needed? Seems l
Harry Terkelsen 2015/10/13 17:27:34 The class to superclass dependency is handled here
Siggi Cherem (dart-lang) 2015/10/13 20:16:29 Thanks for the pointer. Sorry for the confusion -
+ if (element is FunctionElement) {
collectTypeDependencies(element.type);
}

Powered by Google App Engine
This is Rietveld 408576698