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

Unified Diff: lib/src/result/value.dart

Issue 1841223002: Fix most strong mode warnings. (Closed) Base URL: git@github.com:dart-lang/async.git@master
Patch Set: Code review changes Created 4 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
« no previous file with comments | « lib/src/result/future.dart ('k') | lib/src/single_subscription_transformer.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/src/result/value.dart
diff --git a/lib/src/result/value.dart b/lib/src/result/value.dart
index f065ab670c49549259cb2552651e42d0e6c6ccfd..39fa04818da6e6262452858c78afbc3d8f1421d7 100644
--- a/lib/src/result/value.dart
+++ b/lib/src/result/value.dart
@@ -14,7 +14,7 @@ class ValueResult<T> implements Result<T> {
bool get isValue => true;
bool get isError => false;
ValueResult<T> get asValue => this;
- ErrorResult get asError => null;
+ ErrorResult<T> get asError => null;
ValueResult(this.value);
« no previous file with comments | « lib/src/result/future.dart ('k') | lib/src/single_subscription_transformer.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698