2 // Copyright 2004-present Facebook. All Rights Reserved.
4 function test1(bool $b, vec
<int> $x, vec
<string> $y, float $z): void
{
14 function test2(bool $b, Vector
<num
> $x, Vector
<arraykey
> $y, int $z): void
{
20 // $v : Vector<num> | Vector<arraykey> and only values that are subtypes of
21 // both num and arraykey can be appended to $v.