Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(255)

Unified Diff: sdk/lib/_internal/compiler/implementation/source_file_provider.dart

Issue 12642004: Don't output tons of messages on apidoc. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sdk/lib/_internal/compiler/implementation/library_loader.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/_internal/compiler/implementation/source_file_provider.dart
diff --git a/sdk/lib/_internal/compiler/implementation/source_file_provider.dart b/sdk/lib/_internal/compiler/implementation/source_file_provider.dart
index fc4e9b24ac0de57f0c84d66e401006fba50e8f0a..f82c44e0aac083c5f1b68300eedbe925437a8190 100644
--- a/sdk/lib/_internal/compiler/implementation/source_file_provider.dart
+++ b/sdk/lib/_internal/compiler/implementation/source_file_provider.dart
@@ -68,7 +68,6 @@ class FormattingDiagnosticHandler {
FormattingDiagnosticHandler(SourceFileProvider this.provider);
void info(var message, [api.Diagnostic kind = api.Diagnostic.VERBOSE_INFO]) {
- if (!verbose && identical(kind, api.Diagnostic.VERBOSE_INFO)) return;
if (enableColors) {
print('${colors.green("info:")} $message');
} else {
@@ -80,6 +79,7 @@ class FormattingDiagnosticHandler {
api.Diagnostic kind) {
// TODO(ahe): Remove this when source map is handled differently.
if (identical(kind.name, 'source map')) return;
+ if (!verbose && identical(kind, api.Diagnostic.VERBOSE_INFO)) return;
if (isAborting) return;
isAborting = identical(kind, api.Diagnostic.CRASH);
« no previous file with comments | « sdk/lib/_internal/compiler/implementation/library_loader.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698