Fix memoization of functions called with keyset arguments
[hiphop-php.git] / hphp / test / quick / hh_typehint4.php
blob048943be82e9287c17de2af6f6400786004b18ec
1 <?hh
3 function foo(?(int, int) $x) {}
5 foo(null);
6 foo(array(1,2));
7 foo(array(1,2,3)); // ok: typechecker validates it
8 foo(new stdclass);