Index: pkg/compiler/lib/src/elements/elements.dart |
diff --git a/pkg/compiler/lib/src/elements/elements.dart b/pkg/compiler/lib/src/elements/elements.dart |
index a7373cb59bdb535706472f54c42a6fe5df2aa0cb..c39d3f9b607f53e74bba5c62a24223d5b8b68d2f 100644 |
--- a/pkg/compiler/lib/src/elements/elements.dart |
+++ b/pkg/compiler/lib/src/elements/elements.dart |
@@ -778,7 +778,7 @@ class Elements { |
constructor = constructor.effectiveTarget; |
ClassElement cls = constructor.enclosingClass; |
return cls.library == closedWorld.commonElements.typedDataLibrary && |
- closedWorld.backendClasses.isNativeClass(cls) && |
+ closedWorld.nativeData.isNativeClass(cls) && |
closedWorld.isSubtypeOf( |
cls, closedWorld.commonElements.typedDataClass) && |
closedWorld.isSubtypeOf(cls, closedWorld.commonElements.listClass) && |