Index: tests/compiler/dart2js/compiler_helper.dart |
diff --git a/tests/compiler/dart2js/compiler_helper.dart b/tests/compiler/dart2js/compiler_helper.dart |
index 2c1684ef12e12756c0672fc0b4a557d7200b8341..cff4c52bfe78b9d060beb5da3043b0b2d0e7531e 100644 |
--- a/tests/compiler/dart2js/compiler_helper.dart |
+++ b/tests/compiler/dart2js/compiler_helper.dart |
@@ -213,7 +213,7 @@ types.TypeMask findTypeMask(compiler, String name, |
element = compiler.backend.helpers.interceptorsLibrary.find(sourceName); |
} |
if (element == null) { |
- element = compiler.coreLibrary.find(sourceName); |
+ element = compiler.commonElements.coreLibrary.find(sourceName); |
} |
Expect.isNotNull(element, 'Could not locate $name'); |
switch (how) { |