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

Unified Diff: pkg/kernel/lib/transformations/treeshaker.dart

Issue 2890933002: Use LibraryIndex in CoreTypes instead of extending it. (Closed)
Patch Set: Make everything lazy in CoreTypes. 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 | « pkg/kernel/lib/transformations/mixin_full_resolution.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/kernel/lib/transformations/treeshaker.dart
diff --git a/pkg/kernel/lib/transformations/treeshaker.dart b/pkg/kernel/lib/transformations/treeshaker.dart
index 8a15e4a833fa4e2083fb09b7208cdaf2ff7152fa..1e762bda7155dedcc4143b229e91320ee1303820 100644
--- a/pkg/kernel/lib/transformations/treeshaker.dart
+++ b/pkg/kernel/lib/transformations/treeshaker.dart
@@ -222,7 +222,7 @@ class TreeShaker {
new _ExternalTypeVisitor(this, isContravariant: true);
_invariantVisitor = new _ExternalTypeVisitor(this,
isCovariant: true, isContravariant: true);
- _mirrorsLibrary = coreTypes.tryGetLibrary('dart:mirrors');
+ _mirrorsLibrary = coreTypes.mirrorsLibrary;
try {
_build();
} on _UsingMirrorsException {
« no previous file with comments | « pkg/kernel/lib/transformations/mixin_full_resolution.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698