Index: sdk/lib/async/stream_pipe.dart |
diff --git a/sdk/lib/async/stream_pipe.dart b/sdk/lib/async/stream_pipe.dart |
index 12063bd928b65cc24970c571c2ad020746740666..73ed6b1839fe16d6a5639e60b9c987734e1605c9 100644 |
--- a/sdk/lib/async/stream_pipe.dart |
+++ b/sdk/lib/async/stream_pipe.dart |
@@ -5,8 +5,8 @@ |
part of dart.async; |
/** Runs user code and takes actions depending on success or failure. */ |
-_runUserCode( |
- userCode(), onSuccess(value), onError(error, StackTrace stackTrace)) { |
+_runUserCode<T>( |
+ T userCode(), onSuccess(T value), onError(error, StackTrace stackTrace)) { |
try { |
onSuccess(userCode()); |
} catch (e, s) { |