Index: tests/compiler/dart2js/type_mask2_test.dart |
diff --git a/tests/compiler/dart2js/type_mask2_test.dart b/tests/compiler/dart2js/type_mask2_test.dart |
index a33f50fda7ef5453d595fe5c5f0e46463d77f3c0..4a28dce4cf2c5e0f7cab8bbd4808998975affc00 100644 |
--- a/tests/compiler/dart2js/type_mask2_test.dart |
+++ b/tests/compiler/dart2js/type_mask2_test.dart |
@@ -217,7 +217,7 @@ Future testStringSubtypes() async { |
ClassElement Object_ = env.getElement("Object"); |
ClassElement String_ = env.getElement("String"); |
- ClassElement JSString = closedWorld.backendClasses.stringClass; |
+ ClassElement JSString = closedWorld.commonElements.jsStringClass; |
List<ClassElement> allClasses = <ClassElement>[Object_, String_]; |