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

Unified Diff: pkg/compiler/lib/src/kernel/element_map.dart

Issue 2846433003: Run closed_world2_test using the normal compiler pipeline. (Closed)
Patch Set: Created 3 years, 8 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/kernel/element_map.dart
diff --git a/pkg/compiler/lib/src/kernel/element_map.dart b/pkg/compiler/lib/src/kernel/element_map.dart
index f40384737e1e2958c8c5ceff3c9c710d4bb96690..939955c24fa677aac39f06f25943fcf186e8145d 100644
--- a/pkg/compiler/lib/src/kernel/element_map.dart
+++ b/pkg/compiler/lib/src/kernel/element_map.dart
@@ -125,6 +125,7 @@ class KernelToElementMap extends KernelElementAdapterMixin {
LibraryEntity lookupLibrary(Uri uri) {
_KLibraryEnv libraryEnv = _env.lookupLibrary(uri);
+ if (libraryEnv == null) return null;
return _getLibrary(libraryEnv.library, libraryEnv);
}

Powered by Google App Engine
This is Rietveld 408576698