| 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 d07c4fce23f3d9c861ba0903440e853aed7a9ffb..e624702c5f1048ddc9d8bc3b6084da4905a0f6e6 100644
|
| --- a/tests/compiler/dart2js/type_combination_test.dart
|
| +++ b/tests/compiler/dart2js/type_combination_test.dart
|
| @@ -758,7 +758,8 @@ void main() {
|
| .registerTypeUse(new TypeUse.instantiation(element.rawType));
|
| }
|
| });
|
| - ClassElement patternImplClass = compiler.mainApp.find('PatternImpl');
|
| + LibraryElement mainApp = compiler.mainApp;
|
| + ClassElement patternImplClass = mainApp.find('PatternImpl');
|
| patternImplClass.ensureResolved(compiler.resolution);
|
|
|
| impactBuilder.registerTypeUse(
|
|
|