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

Unified Diff: sdk/lib/_internal/compiler/implementation/compiler.dart

Issue 12610006: Renamed StreamSink to EventSink. Renamed signalError to addError. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Changed inheritance back! Now create StreamSink instead of EventSink where we create them. Created 7 years, 9 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: 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() {}

Powered by Google App Engine
This is Rietveld 408576698