Index: dart/frog/tests/leg/compiler_helper.dart |
diff --git a/dart/frog/tests/leg/compiler_helper.dart b/dart/frog/tests/leg/compiler_helper.dart |
index d4bf3a3ae1e63b6f62957e0f4268147ac148b29e..89fbd8b68700ebe417f79f04f349929903f9afcc 100644 |
--- a/dart/frog/tests/leg/compiler_helper.dart |
+++ b/dart/frog/tests/leg/compiler_helper.dart |
@@ -18,6 +18,7 @@ String compile(String code, [String entry = 'main']) { |
lego.Element element = compiler.mainApp.find(buildSourceString(entry)); |
if (element === null) return null; |
leg.WorkItem work = new leg.WorkItem(element, null); |
+ work.run(compiler, compiler.enqueuer.resolution); |
String generated = work.run(compiler, compiler.enqueuer.codegen); |
return generated; |
} |