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

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

Issue 10696194: Introduce CodeBuffer as StringBuffer replacement in compiler. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: . Created 8 years, 5 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: lib/compiler/implementation/scanner/token.dart
diff --git a/lib/compiler/implementation/scanner/token.dart b/lib/compiler/implementation/scanner/token.dart
index dab6d60ba3a3b93d414cc177e34e544eb6d1af80..cdb881458a5c6a4add4e6cd8c26a9cf372baaa81 100644
--- a/lib/compiler/implementation/scanner/token.dart
+++ b/lib/compiler/implementation/scanner/token.dart
@@ -206,7 +206,7 @@ class StringWrapper implements SourceString {
Iterator<int> iterator() => new StringCodeIterator(stringValue);
- void printOn(StringBuffer sb) {
+ void printOn(sb) {
floitsch 2012/07/12 16:29:09 Couldn't you make the CodeBuffer implement StringB
podivilov 2012/07/13 12:49:57 Done.
sb.add(stringValue);
}

Powered by Google App Engine
This is Rietveld 408576698