Index: sdk/lib/_internal/compiler/implementation/compiler.dart |
diff --git a/sdk/lib/_internal/compiler/implementation/compiler.dart b/sdk/lib/_internal/compiler/implementation/compiler.dart |
index d5791b0018c79b233de14f5e276abd72849678f3..1d1cf7f206a599ea8fc66db1d3ca47eaefb94553 100644 |
--- a/sdk/lib/_internal/compiler/implementation/compiler.dart |
+++ b/sdk/lib/_internal/compiler/implementation/compiler.dart |
@@ -1160,14 +1160,14 @@ bool invariant(Spannable spannable, var condition, {String message: null}) { |
} |
/// A sink that drains into /dev/null. |
-class NullSink extends StreamSink<String> { |
+class NullSink implements EventSink<String> { |
final String name; |
NullSink(this.name); |
add(String value) {} |
- void signalError(AsyncError error) {} |
+ void addError(AsyncError error) {} |
void close() {} |