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

Unified Diff: pkg/analyzer_experimental/bin/formatter.dart

Issue 26502003: Update formatter main to use preferred Utf8Decoder. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 2 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analyzer_experimental/bin/formatter.dart
===================================================================
--- pkg/analyzer_experimental/bin/formatter.dart (revision 28389)
+++ pkg/analyzer_experimental/bin/formatter.dart (working copy)
@@ -6,7 +6,6 @@
import 'dart:convert';
import 'dart:io';
-import 'dart:utf';
import 'package:args/args.dart';
import 'package:path/path.dart' as path;
@@ -110,7 +109,7 @@
_formatStdin(options) {
var input = new StringBuffer();
- stdin.transform(new Utf8DecoderTransformer())
+ stdin.transform(new Utf8Decoder())
.listen((data) => input.write(data),
onError: (error) => _log('Error reading from stdin'),
onDone: () => print(_formatCU(input.toString())));
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698