| Index: pkg/dev_compiler/test/codegen_test.dart
|
| diff --git a/pkg/dev_compiler/test/codegen_test.dart b/pkg/dev_compiler/test/codegen_test.dart
|
| index 9bf3dc5fce8b53fc1069d5d3677f72766515ecb2..f7f4d14f69480e4915715151062ac2c3f0314202 100644
|
| --- a/pkg/dev_compiler/test/codegen_test.dart
|
| +++ b/pkg/dev_compiler/test/codegen_test.dart
|
| @@ -139,8 +139,15 @@ main(List<String> arguments) {
|
| }
|
|
|
| var declaredVars = <String, String>{};
|
| - var argResults =
|
| - compileArgParser.parse(extractDefinedVariables(args, declaredVars));
|
| + args = args.expand((String arg) => arg.split('=')).toList();
|
| + args = extractDefinedVariables(args, declaredVars);
|
| + ArgResults argResults;
|
| + try {
|
| + argResults = compileArgParser.parse(args);
|
| + } catch (e) {
|
| + print('Failed to parse $args');
|
| + rethrow;
|
| + }
|
| var options = new CompilerOptions.fromArguments(argResults);
|
| var moduleFormat = parseModuleFormatOption(argResults).first;
|
|
|
|
|