Refine types in as-expressions
[hiphop-php.git] / hphp / hack / test / typecheck / as_expression / callable.php.exp
blob63eccb8ff0d6485fc522078a162daa44f8c28e3f
1 File "callable.php", line 6, characters 9-28:
2 Callable typehints cannot be used with as-expressions (Parsing[1002])
3 File "callable.php", line 6, characters 9-29:
4 The "as" operator cannot be used with a function (Typing[4195])
5 File "callable.php", line 7, characters 5-6:
6 Invalid argument (Typing[4110])
7 File "callable.php", line 3, characters 12-14:
8 This is an int
9 File "callable.php", line 5, characters 12-16:
10 It is incompatible with a mixed value