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 1150c96feb90a46fabbbf43ec0e25b65444d681d..e136a149b1abff7e55284fab75b19d2f47d04cc8 100644 |
--- a/pkg/compiler/lib/src/resolution/class_hierarchy.dart |
+++ b/pkg/compiler/lib/src/resolution/class_hierarchy.dart |
@@ -557,7 +557,7 @@ class ClassResolverVisitor extends TypeDefinitionVisitor { |
isBlackListed(DartType type) { |
LibraryElement lib = element.library; |
return !identical(lib, compiler.coreLibrary) && |
- !compiler.backend.isBackendLibrary(lib) && |
+ !resolution.target.isTargetSpecificLibrary(lib) && |
(type.isDynamic || |
type == coreTypes.boolType || |
type == coreTypes.numType || |