Index: tests/compiler/dart2js/type_combination_test.dart |
diff --git a/tests/compiler/dart2js/type_combination_test.dart b/tests/compiler/dart2js/type_combination_test.dart |
index 3aef5f82eb98e0381bfcd22367aefade83dbc369..5c72f356a3d45f37ab798eceab96b9ae43b1b669 100644 |
--- a/tests/compiler/dart2js/type_combination_test.dart |
+++ b/tests/compiler/dart2js/type_combination_test.dart |
@@ -768,7 +768,7 @@ void main() { |
// Grab hold of a supertype for String so we can produce potential |
// string types. |
- patternClass = compiler.coreLibrary.find('Pattern'); |
+ patternClass = compiler.commonElements.coreLibrary.find('Pattern'); |
nonPrimitive1 = new TypeMask.nonNullSubtype( |
compiler.coreClasses.mapClass, world); |