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

Unified Diff: pkg/compiler/lib/src/resolution/resolution_strategy.dart

Issue 2927043002: Handle `new Object()` in compile_from_dill_test (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/resolution/resolution_strategy.dart
diff --git a/pkg/compiler/lib/src/resolution/resolution_strategy.dart b/pkg/compiler/lib/src/resolution/resolution_strategy.dart
index 295d43527723f11096e7a632637ec37071ef51af..a85af8999f33eb286a7ea786f3bbebe6a85dd636 100644
--- a/pkg/compiler/lib/src/resolution/resolution_strategy.dart
+++ b/pkg/compiler/lib/src/resolution/resolution_strategy.dart
@@ -378,6 +378,9 @@ class _CompilerElementEnvironment implements ElementEnvironment {
Iterable<LibraryEntity> get libraries => _compiler.libraryLoader.libraries;
@override
+ String getLibraryName(LibraryElement library) => library.libraryName;
+
+ @override
ResolutionInterfaceType getThisType(ClassElement cls) {
cls.ensureResolved(_resolution);
return cls.thisType;
« no previous file with comments | « pkg/compiler/lib/src/kernel/element_map_impl.dart ('k') | tests/compiler/dart2js/kernel/compile_from_dill_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698