Chromium Code Reviews| Index: pkg/front_end/lib/src/fasta/testing/kernel_chain.dart |
| diff --git a/pkg/front_end/lib/src/fasta/testing/kernel_chain.dart b/pkg/front_end/lib/src/fasta/testing/kernel_chain.dart |
| index b518f37adcfedb450b822e2a782c1504db45d9c6..02dc5a3185ae81663791bcb4c1bac0ad795cf753 100644 |
| --- a/pkg/front_end/lib/src/fasta/testing/kernel_chain.dart |
| +++ b/pkg/front_end/lib/src/fasta/testing/kernel_chain.dart |
| @@ -70,8 +70,7 @@ class Verify extends Step<Program, Program, ChainContext> { |
| String get name => "verify"; |
| Future<Result<Program>> run(Program program, ChainContext context) async { |
| - var options = |
| - new ProcessedOptions(new CompilerOptions()..throwOnErrors = false); |
| + var options = new ProcessedOptions(new CompilerOptions()); |
|
Siggi Cherem (dart-lang)
2017/08/23 20:17:35
I think we should undo this for now, but later whe
ahe
2017/08/24 11:52:02
Acknowledged.
|
| return await CompilerContext.runWithOptions(options, (_) async { |
| var errors = verifyProgram(program, isOutline: !fullCompile); |
| if (errors.isEmpty) { |