Index: tests/compiler/dart2js/kernel/visitor_test.dart |
diff --git a/tests/compiler/dart2js/kernel/visitor_test.dart b/tests/compiler/dart2js/kernel/visitor_test.dart |
index c66801fe14429a109ef7b8d32a001a45919a8ea9..f4356fc8bcaeef7ce464ed78ee74b901f3e29816 100644 |
--- a/tests/compiler/dart2js/kernel/visitor_test.dart |
+++ b/tests/compiler/dart2js/kernel/visitor_test.dart |
@@ -80,6 +80,7 @@ Future<Compiler> newCompiler() async { |
// program. The mixin-full resolution transform run by the test expects to |
// find dart.core::Iterator. |
var core = await compiler.libraryLoader.loadLibrary(Uri.parse('dart:core')); |
+ compiler.startResolution(); |
var cls = core.implementation.localLookup('Iterator'); |
cls.ensureResolved(compiler.resolution); |
return compiler; |