I just landed a patch [0] that adds more types to the Future.timeout function. It's unlikely, but there is a chance that a program could now fail in checked mode.
We changed the signature from the timeout function from:
Future timeout(Duration timeLimit, {onTimeout()});
to
Future<T> timeout(Duration timeLimit, {onTimeout()});
This implies that the `onTimeout` function must return a T (or a Future<T>) now.
If you rely on the old behavior, you can work around the new types by introducing a `.then`:
typedFuture.timeout(...)
becomes
typedFuture.then((x) => x).timeout(...)
// florian