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

Unified Diff: tool/input_sdk/lib/async/future_impl.dart

Issue 1554683002: Update to latest analyzer (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Created 4 years, 11 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 | « tool/input_sdk/lib/async/future.dart ('k') | tool/input_sdk/lib/async/stream.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tool/input_sdk/lib/async/future_impl.dart
diff --git a/tool/input_sdk/lib/async/future_impl.dart b/tool/input_sdk/lib/async/future_impl.dart
index a0cfeb16efe9b05e4778085a0988824e46168236..1c6bf545e9e84e953f5d189001a20f04e9057e97 100644
--- a/tool/input_sdk/lib/async/future_impl.dart
+++ b/tool/input_sdk/lib/async/future_impl.dart
@@ -202,8 +202,8 @@ class _Future<T> implements Future<T> {
}
}
- Future then(f(T value), { Function onError }) {
- _Future result = new _Future();
+ Future/*<S>*/ then/*<S>*/(/*=S*/ f(T value), { Function onError }) {
+ _Future/*<S>*/ result = new _Future();
if (!identical(result._zone, _ROOT_ZONE)) {
f = result._zone.registerUnaryCallback(f);
if (onError != null) {
« no previous file with comments | « tool/input_sdk/lib/async/future.dart ('k') | tool/input_sdk/lib/async/stream.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698