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 c5f90e0a2f39133114ad4f4bc4339d126ed5110c..9503c6bc09b821fa672b418c4b800f27990d255f 100644 |
--- a/pkg/compiler/lib/src/elements/elements.dart |
+++ b/pkg/compiler/lib/src/elements/elements.dart |
@@ -741,7 +741,7 @@ class Elements { |
return cls.library == compiler.typedDataLibrary |
&& compiler.backend.isNative(cls) |
&& compiler.world.isSubtypeOf(cls, compiler.typedDataClass) |
- && compiler.world.isSubtypeOf(cls, compiler.listClass) |
+ && compiler.world.isSubtypeOf(cls, compiler.coreClasses.listClass) |
&& constructor.name == ''; |
} |