Index: samples/dartcombat/state.dart |
diff --git a/samples/dartcombat/state.dart b/samples/dartcombat/state.dart |
index 32ea362f5b11f14e3985df74af75b7168474f48d..4a94d74c847a29d7f338d682a597c1e3455240c3 100644 |
--- a/samples/dartcombat/state.dart |
+++ b/samples/dartcombat/state.dart |
@@ -239,7 +239,7 @@ class PlayerState { |
}); |
shot.handleException((String error) { |
_recordFailedShot(x, y); |
- sunk.completeException(error); |
+ sunk.completeError(error); |
return true; |
}); |
// We don't actually chain sunk.cancel with shot.cancel because individual |