Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(337)

Unified Diff: tests/compiler/dart2js/type_combination_test.dart

Issue 1146813009: Introduce WorldImpact (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Rebased Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tests/compiler/dart2js/type_checker_test.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « tests/compiler/dart2js/type_checker_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698