Index: pkg/compiler/lib/src/resolution/class_hierarchy.dart |
diff --git a/pkg/compiler/lib/src/resolution/class_hierarchy.dart b/pkg/compiler/lib/src/resolution/class_hierarchy.dart |
index edf87b71b535d29b7995d2b65f73bedf55d09b94..ef03ab58bd5b30874418f11ba593c3df0259ca22 100644 |
--- a/pkg/compiler/lib/src/resolution/class_hierarchy.dart |
+++ b/pkg/compiler/lib/src/resolution/class_hierarchy.dart |
@@ -553,7 +553,7 @@ class ClassResolverVisitor extends TypeDefinitionVisitor { |
isBlackListed(DartType type) { |
LibraryElement lib = element.library; |
- return !identical(lib, resolution.coreLibrary) && |
+ return !identical(lib, resolution.commonElements.coreLibrary) && |
!resolution.target.isTargetSpecificLibrary(lib) && |
(type.isDynamic || |
type == coreTypes.boolType || |