f5a00ae3a8
It turns out that the special case for FutureOr<void> that I added in https://dart-review.googlesource.com/c/sdk/+/35920 was misunderstood, nobody really wanted it. This CL removes all references to `FutureOr` in generalized-void.md, which removes that special case and also the concept of types that are "void equivalent" (because such types are not used any more). The message here is that we are now more consistent in our protection of developers against accidentally discarding a value which is meaningful (just like `void foo() { return 42; }`), because they've forgotten that the return type is `void`. Change-Id: Ia4e6e00b2d33ff434923de7eb78d000cd7cc1c3e Reviewed-on: https://dart-review.googlesource.com/41822 Reviewed-by: Lasse R.H. Nielsen <lrn@google.com> Reviewed-by: Leaf Petersen <leafp@google.com>