Updating submodules
[hiphop-php.git] / hphp / test / slow / class_type_constant / type_constant6.php
blob620bd254409ec8825f57a93d236f497c2e985979
1 <?hh
3 async function test(
4 X::T $x,
5 ?Vector<Z::Y::X> $v,
6 ): Awaitable<A::B::C> {}
9 <<__EntryPoint>>
10 function main_type_constant6() {
11 $reflect = new ReflectionFunction('test');
13 var_dump($reflect->getReturnTypeText());
15 foreach($reflect->getParameters() as $param) {
16 var_dump('$'.$param->getName().' : '.$param->getTypeText());