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 6063513e87d7b87f5ae5aa98fc7b956a2c403005..fa2b503d5a385d2ba6ebe9d60d8b56fa3491e0f6 100644 |
--- a/tests/compiler/dart2js/type_combination_test.dart |
+++ b/tests/compiler/dart2js/type_combination_test.dart |
@@ -733,12 +733,13 @@ void main() { |
World world = compiler.world; |
backend.interceptorsLibrary.forEachLocalMember((element) { |
if (element.isClass) { |
- compiler.enqueuer.resolution.registerInstantiatedClass( |
- element, compiler.globalDependencies); |
+ element.ensureResolved(compiler); |
+ compiler.enqueuer.resolution.registerInstantiatedType( |
+ element.rawType, compiler.globalDependencies); |
} |
}); |
- compiler.enqueuer.resolution.registerInstantiatedClass( |
- compiler.mapClass, compiler.globalDependencies); |
+ compiler.enqueuer.resolution.registerInstantiatedType( |
+ compiler.coreTypes.mapType(), compiler.globalDependencies); |
compiler.world.populate(); |
// Grab hold of a supertype for String so we can produce potential |