| OLD | NEW |
| 1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 library fasta.compile_platform; | 5 library fasta.compile_platform; |
| 6 | 6 |
| 7 import 'dart:async' show | 7 import 'dart:async' show |
| 8 Future; | 8 Future; |
| 9 | 9 |
| 10 import 'package:kernel/verifier.dart' show | 10 import 'package:kernel/verifier.dart' show |
| (...skipping 10 matching lines...) Expand all Loading... |
| 21 | 21 |
| 22 import 'compiler_context.dart' show | 22 import 'compiler_context.dart' show |
| 23 CompilerContext; | 23 CompilerContext; |
| 24 | 24 |
| 25 import 'errors.dart' show | 25 import 'errors.dart' show |
| 26 InputError; | 26 InputError; |
| 27 | 27 |
| 28 import 'kernel/kernel_target.dart' show | 28 import 'kernel/kernel_target.dart' show |
| 29 KernelTarget; | 29 KernelTarget; |
| 30 | 30 |
| 31 import 'package:kernel/ast.dart' show | |
| 32 Program; | |
| 33 | |
| 34 import 'dill/dill_target.dart' show | 31 import 'dill/dill_target.dart' show |
| 35 DillTarget; | 32 DillTarget; |
| 36 | 33 |
| 37 import 'translate_uri.dart' show | 34 import 'translate_uri.dart' show |
| 38 TranslateUri; | 35 TranslateUri; |
| 39 | 36 |
| 40 import 'ast_kind.dart' show | 37 import 'ast_kind.dart' show |
| 41 AstKind; | 38 AstKind; |
| 42 | 39 |
| 43 Future main(List<String> arguments) async { | 40 Future main(List<String> arguments) async { |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 85 ticker.logMs("Verified program"); | 82 ticker.logMs("Verified program"); |
| 86 } catch (e, s) { | 83 } catch (e, s) { |
| 87 exitCode = 1; | 84 exitCode = 1; |
| 88 print("Verification of program failed: $e"); | 85 print("Verification of program failed: $e"); |
| 89 if (s != null && c.options.verbose) { | 86 if (s != null && c.options.verbose) { |
| 90 print(s); | 87 print(s); |
| 91 } | 88 } |
| 92 } | 89 } |
| 93 } | 90 } |
| 94 } | 91 } |
| OLD | NEW |