| Index: sdk/lib/_internal/compiler/implementation/dart2js.dart
|
| diff --git a/sdk/lib/_internal/compiler/implementation/dart2js.dart b/sdk/lib/_internal/compiler/implementation/dart2js.dart
|
| index 7be2db8c25176928cfbf6536e065d8e84ef61ab2..505625ae1ef7d30bc7d041c083c086d10c18989f 100644
|
| --- a/sdk/lib/_internal/compiler/implementation/dart2js.dart
|
| +++ b/sdk/lib/_internal/compiler/implementation/dart2js.dart
|
| @@ -262,7 +262,7 @@ void compile(List<String> argv) {
|
| }
|
| }
|
|
|
| - StreamSink<String> outputProvider(String name, String extension) {
|
| + EventSink<String> outputProvider(String name, String extension) {
|
| Uri uri;
|
| String sourceMapFileName;
|
| bool isPrimaryOutput = false;
|
| @@ -314,20 +314,20 @@ void compile(List<String> argv) {
|
| }
|
|
|
| // TODO(ahe): Get rid of this class if http://dartbug.com/8118 is fixed.
|
| -class CountingSink implements StreamSink<String> {
|
| - final StreamSink<String> sink;
|
| +class CountingSink implements EventSink<String> {
|
| + final EventSink<String> sink;
|
| int count = 0;
|
|
|
| CountingSink(this.sink);
|
|
|
| - add(String value) {
|
| + void add(String value) {
|
| sink.add(value);
|
| count += value.length;
|
| }
|
|
|
| - signalError(AsyncError error) => sink.signalError(error);
|
| + void addError(AsyncError error) { sink.signalError(error); }
|
|
|
| - close() => sink.close();
|
| + void close() { sink.close(); }
|
| }
|
|
|
| class AbortLeg {
|
|
|