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

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

Issue 2848703003: Fix a batch of DDC SDK compile errors. (Closed)
Patch Set: Revise. Created 3 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 | « pkg/dev_compiler/tool/sdk_expected_errors.txt ('k') | sdk/lib/collection/queue.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/async/future.dart
diff --git a/sdk/lib/async/future.dart b/sdk/lib/async/future.dart
index ea999b1299dcb07c4e0c657529b4218960534194..a534af28431ed348957bcb03788b124ec845e2a8 100644
--- a/sdk/lib/async/future.dart
+++ b/sdk/lib/async/future.dart
@@ -135,7 +135,7 @@ abstract class FutureOr<T> {
*/
abstract class Future<T> {
// The `_nullFuture` is a completed Future with the value `null`.
- static final _Future _nullFuture = new Future.value(null);
+ static final _Future<Null> _nullFuture = new Future.value(null);
/**
* Creates a future containing the result of calling [computation]
« no previous file with comments | « pkg/dev_compiler/tool/sdk_expected_errors.txt ('k') | sdk/lib/collection/queue.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698