Index: pkg/analyzer_experimental/bin/analyzer.dart |
diff --git a/pkg/analyzer_experimental/bin/analyzer.dart b/pkg/analyzer_experimental/bin/analyzer.dart |
index 5fed0a8abe2949c7a814ee904865d4d5f43ecf8c..119376fb0678728c5f028e892a552c7c44a3df94 100644 |
--- a/pkg/analyzer_experimental/bin/analyzer.dart |
+++ b/pkg/analyzer_experimental/bin/analyzer.dart |
@@ -8,6 +8,7 @@ |
library analyzer; |
import 'dart:async'; |
+import 'dart:convert'; |
import 'dart:io'; |
import 'package:analyzer_experimental/src/generated/engine.dart'; |
@@ -80,7 +81,7 @@ class BatchRunner { |
// read line from stdin |
Stream cmdLine = stdin |
.transform(new StringDecoder()) |
- .transform(new LineTransformer()); |
+ .transform(new LineSplitter()); |
var subscription = cmdLine.listen((String line) { |
// may be finish |
if (line.isEmpty) { |