No error on use of `unsafe_cast`
[hiphop-php.git] / hphp / hack / test / typecheck / incorrect_tparam_arity.php.exp
blob6c170ab98dbc624a566dd20dce887f494dce836c
1 File "incorrect_tparam_arity.php", line 4, characters 21-27:
2 Wrong number of type arguments (expected 1, got 2) (Typing[4101])
3 File "incorrect_tparam_arity.php", line 7, characters 7-7:
4 Definition is here
5 File "incorrect_tparam_arity.php", line 8, characters 19-19:
6 Invalid return type (Typing[4336])
7 File "incorrect_tparam_arity.php", line 8, characters 24-24:
8 Expected `T`
9 File "incorrect_tparam_arity.php", line 8, characters 19-19:
10 But got `void` because this function does not always return a value