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

Unified Diff: dart/sdk/lib/_internal/compiler/implementation/scanner/token.dart

Issue 12294028: Fix warnings spotted by dart. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 10 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
Index: dart/sdk/lib/_internal/compiler/implementation/scanner/token.dart
diff --git a/dart/sdk/lib/_internal/compiler/implementation/scanner/token.dart b/dart/sdk/lib/_internal/compiler/implementation/scanner/token.dart
index c4fda3c07e5ff930635faa9fcf72c866b39da994..fcf4e871b23b307dc6ae772aeca439e9e6a37bd7 100644
--- a/dart/sdk/lib/_internal/compiler/implementation/scanner/token.dart
+++ b/dart/sdk/lib/_internal/compiler/implementation/scanner/token.dart
@@ -219,7 +219,7 @@ class StringWrapper extends Iterable<int> implements SourceString {
Iterator<int> get iterator => new StringCodeIterator(stringValue);
void printOn(StringBuffer sb) {
- sb.add(stringValue);
+ sb.write(stringValue);
}
String toString() => stringValue;

Powered by Google App Engine
This is Rietveld 408576698