Index: tests/compiler/dart2js/resolver_test.dart |
diff --git a/tests/compiler/dart2js/resolver_test.dart b/tests/compiler/dart2js/resolver_test.dart |
index 08af18edbc841934e1f33490af11acc7cbbd58f6..f16e481f1d19d2467dd8be290a240febe4ee0fdb 100644 |
--- a/tests/compiler/dart2js/resolver_test.dart |
+++ b/tests/compiler/dart2js/resolver_test.dart |
@@ -256,7 +256,7 @@ Future testSwitch() { |
MethodElement funElement = fooElement.lookupLocalMember("foo"); |
compiler.enqueuer.resolution.applyImpact(new WorldImpactBuilderImpl() |
..registerStaticUse(new StaticUse.implicitInvoke(funElement))); |
- compiler.processQueue( |
+ compiler.processQueue(compiler.frontendStrategy.elementEnvironment, |
compiler.enqueuer.resolution, null, compiler.libraryLoader.libraries); |
DiagnosticCollector collector = compiler.diagnosticCollector; |
Expect.equals(0, collector.warnings.length); |