Index: test/codegen_test.dart |
diff --git a/test/codegen_test.dart b/test/codegen_test.dart |
index cad3b32f2c250e145ade86eba84cb0545479ba37..95d06e5a984fd3ec63029d6428267be56bbc4087 100644 |
--- a/test/codegen_test.dart |
+++ b/test/codegen_test.dart |
@@ -94,7 +94,8 @@ main(List<String> arguments) { |
// Our default compiler options. Individual tests can override these. |
var defaultOptions = ['--no-source-map', '--no-summarize']; |
- var compilerArgParser = CompilerOptions.addArguments(new ArgParser()); |
+ var compilerArgParser = new ArgParser(); |
+ CompilerOptions.addArguments(compilerArgParser); |
// Compile each test file to JS and put the result in gen/codegen_output. |
for (var testFile in testFiles) { |