3 * Copyright (c) 2014, Facebook, Inc.
6 * This source code is licensed under the MIT license found in the
7 * LICENSE file in the "hack" directory of this source tree.
12 function coin_flip(): bool { return false; }
14 function f(Awaitable
<void
> $a, Awaitable
<void
> $b): Awaitable
<void
> {
15 if (coin_flip()) { return $a; }
16 if (coin_flip()) { return $b; }
17 // Implicit return null in a normal function is not compatible with