2 // (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary.
4 function expectSD(supportdyn
<mixed> $m):void
{ }
5 function test1(supportdyn
<shape(?
'a' => int, ...)> $s, supportdyn
<shape('b' => bool, ...)> $t, bool $b):void
{
7 $x = Shapes
::idx($s,'a');
10 function test2(shape(?
'a' => int) $s, supportdyn
<shape('b' => bool, ...)> $t, bool $b):void
{
12 $x = Shapes
::idx($s,'a');
15 function test3(shape(?
'a' => int) $s, supportdyn
<shape('b' => bool, ...)> $t, bool $b):void
{
17 $x = Shapes
::idx($t,'a');