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

Unified Diff: lib/compiler/implementation/unparse_validator.dart

Issue 10575030: Add a typeannotation and a missing argument to remove warnings. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 6 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 | « lib/compiler/implementation/ssa/nodes.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/compiler/implementation/unparse_validator.dart
diff --git a/lib/compiler/implementation/unparse_validator.dart b/lib/compiler/implementation/unparse_validator.dart
index 2a54f568e3ac9240b995233c33860e090b3b662e..5004894e6e1f7a3bb043446e63fd1e790d944cdb 100644
--- a/lib/compiler/implementation/unparse_validator.dart
+++ b/lib/compiler/implementation/unparse_validator.dart
@@ -11,7 +11,8 @@ class ValidatorListener implements DiagnosticListener {
assert(token !== null);
SourceSpan.withOffsets(token, token, (beginOffset, endOffset) {
String errorMessage =
- sourceFile.getLocationMessage(reason, beginOffset, endOffset, true);
+ sourceFile.getLocationMessage(reason, beginOffset, endOffset, true,
+ (s) => s /* no color */);
print(errorMessage);
});
throw new CompilerCancelledException(reason);
« no previous file with comments | « lib/compiler/implementation/ssa/nodes.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698