No error on use of `unsafe_cast`
[hiphop-php.git] / hphp / hack / test / typecheck / awaitable_yield_waitfor_error.php.exp
blob28e4ed62f1d380520fdd3222c36cfcccfe4b3168
1 File "awaitable_yield_waitfor_error.php", line 12, characters 23-26:
2 `async` functions must have an `Awaitable` return type. (Parsing[1002])
3 File "awaitable_yield_waitfor_error.php", line 12, characters 16-18:
4 Invalid return type (Typing[4336])
5 File "awaitable_yield_waitfor_error.php", line 12, characters 23-26:
6 Expected `void`
7 File "awaitable_yield_waitfor_error.php", line 12, characters 16-18:
8 But got `Awaitable<void>` because this function does not always return a value