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

Unified Diff: sdk/lib/async/stream_transformers.dart

Issue 1908943004: Fix void foo(..) => ... to use { } instead. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Upload Created 4 years, 8 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 | « sdk/lib/async/stream.dart ('k') | sdk/lib/convert/byte_conversion.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/async/stream_transformers.dart
diff --git a/sdk/lib/async/stream_transformers.dart b/sdk/lib/async/stream_transformers.dart
index ea4aaf73a392fb1e6470453a00819ab5afef3025..979ce3a6a5c114690d2c8bbb40b64ba89ddb87dc 100644
--- a/sdk/lib/async/stream_transformers.dart
+++ b/sdk/lib/async/stream_transformers.dart
@@ -213,10 +213,11 @@ class _HandlerEventSink<S, T> implements EventSink<S> {
_HandlerEventSink(this._handleData, this._handleError, this._handleDone,
this._sink);
- void add(S data) => _handleData(data, _sink);
- void addError(Object error, [StackTrace stackTrace])
- => _handleError(error, stackTrace, _sink);
- void close() => _handleDone(_sink);
+ void add(S data) { _handleData(data, _sink); }
+ void addError(Object error, [StackTrace stackTrace]) {
+ _handleError(error, stackTrace, _sink);
+ }
+ void close() { _handleDone(_sink); }
}
/**
« no previous file with comments | « sdk/lib/async/stream.dart ('k') | sdk/lib/convert/byte_conversion.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698