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

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

Issue 2960723004: Handle super-method call (Closed)
Patch Set: Created 3 years, 6 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 c3c4d7acb3b91fff4d5eb6181820c105a62f12d5..47ead89246480f17f4a2c0256cfd327df5dfc315 100644
--- a/pkg/compiler/lib/src/deferred_load.dart
+++ b/pkg/compiler/lib/src/deferred_load.dart
@@ -720,7 +720,7 @@ class DeferredLoadTask extends CompilerTask {
// Now check to see if we have to add more elements due to
// mirrors.
- if (compiler.resolution.commonElements.mirrorsLibrary != null) {
+ if (closedWorld.backendUsage.isMirrorsUsed) {
_addMirrorElements();
}

Powered by Google App Engine
This is Rietveld 408576698