make `Switch` constructor more precise
[hiphop-php.git] / hphp / test / slow / xhp / xhp_spread_default.php
blob7a1a585d5c0834fb86a1ff96b83cf16a4dc90374
1 <?hh // strict
3 class :bar {
4 attribute string name;
7 function foo($x = <bar {...<bar name="foo" />} />) { }
9 <<__EntryPoint>> function main(): void { echo "Done.\n"; }