OLD | NEW |
---|---|
1 // Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2017, 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 import 'dart:async'; | 5 import 'dart:async'; |
6 | 6 |
7 import 'package:front_end/compilation_message.dart'; | 7 import 'package:front_end/compilation_message.dart'; |
8 import 'package:front_end/compiler_options.dart'; | 8 import 'package:front_end/compiler_options.dart'; |
9 import 'package:front_end/file_system.dart'; | 9 import 'package:front_end/file_system.dart'; |
10 import 'package:front_end/src/base/performace_logger.dart'; | 10 import 'package:front_end/src/base/performace_logger.dart'; |
(...skipping 544 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
555 | 555 |
556 sb.writeln('Compile SDK: ${compileSdk}'); | 556 sb.writeln('Compile SDK: ${compileSdk}'); |
557 sb.writeln('SDK root: ${_sdkRoot} (provided: ${_raw.sdkRoot})'); | 557 sb.writeln('SDK root: ${_sdkRoot} (provided: ${_raw.sdkRoot})'); |
558 sb.writeln('SDK specification: ${_librariesSpecificationUri} ' | 558 sb.writeln('SDK specification: ${_librariesSpecificationUri} ' |
559 '(provided: ${_raw.librariesSpecificationUri})'); | 559 '(provided: ${_raw.librariesSpecificationUri})'); |
560 sb.writeln('SDK summary: ${_sdkSummary} (provided: ${_raw.sdkSummary})'); | 560 sb.writeln('SDK summary: ${_sdkSummary} (provided: ${_raw.sdkSummary})'); |
561 | 561 |
562 sb.writeln('Strong: ${strongMode}'); | 562 sb.writeln('Strong: ${strongMode}'); |
563 sb.writeln('Target: ${_target?.name} (provided: ${_raw.target?.name})'); | 563 sb.writeln('Target: ${_target?.name} (provided: ${_raw.target?.name})'); |
564 | 564 |
565 sb.writeln('throwOnErrorsAreFatal: ${throwOnErrors}'); | 565 sb.writeln('throwOnErrors: ${throwOnErrors}'); |
566 sb.writeln('throwOnWarningsAreFatal: ${throwOnWarnings}'); | 566 sb.writeln('throwOnWarningsAreFatal: ${throwOnWarnings}'); |
Siggi Cherem (dart-lang)
2017/08/23 20:17:34
while you are here, let's remove AreFatal on this
ahe
2017/08/24 11:52:01
Done.
| |
567 sb.writeln('throwOnNits: ${throwOnNits}'); | 567 sb.writeln('throwOnNits: ${throwOnNits}'); |
568 sb.writeln('exit on problem: ${setExitCodeOnProblem}'); | 568 sb.writeln('exit on problem: ${setExitCodeOnProblem}'); |
569 sb.writeln('Embed sources: ${embedSourceText}'); | 569 sb.writeln('Embed sources: ${embedSourceText}'); |
570 sb.writeln('debugDump: ${debugDump}'); | 570 sb.writeln('debugDump: ${debugDump}'); |
571 sb.writeln('verbose: ${verbose}'); | 571 sb.writeln('verbose: ${verbose}'); |
572 sb.writeln('verify: ${verify}'); | 572 sb.writeln('verify: ${verify}'); |
573 return '$sb'; | 573 return '$sb'; |
574 } | 574 } |
575 } | 575 } |
576 | 576 |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
614 String get dart2jsCode => _original.code.dart2jsCode; | 614 String get dart2jsCode => _original.code.dart2jsCode; |
615 | 615 |
616 SourceSpan get span => | 616 SourceSpan get span => |
617 new SourceLocation(_original.charOffset, sourceUrl: _original.uri) | 617 new SourceLocation(_original.charOffset, sourceUrl: _original.uri) |
618 .pointSpan(); | 618 .pointSpan(); |
619 | 619 |
620 _CompilationMessage(this._original, this.severity); | 620 _CompilationMessage(this._original, this.severity); |
621 | 621 |
622 String toString() => message; | 622 String toString() => message; |
623 } | 623 } |
OLD | NEW |