Remove array(...) in typecheck tests that result in test differences
[hiphop-php.git] / hphp / hack / test / typecheck / aktuple / list_error.php
blobcd209106cf3b63922b9900075a2234568d93be49
1 <?hh //strict
3 /* Tuple-like arrays can be used with list(...) statement - usage that should
4 * report errors. */
5 function test(): void {
6 $a = varray[4, 'aaa'];
8 list($int, $string) = $a;
9 take_string($int);
12 function take_string(string $_): void {}