Solving inter-procedural constraints in shape-like-dict
[hiphop-php.git] / hphp / hack / test / shape_analysis / close_constraints / call_assign_2.php
blob23098e022a23b1017dedde914bb8f84e9a6cbdc1
1 <?hh
3 function f(): void {
4 $d = dict['a' => 42];
5 g($d);
6 inspect($d);
9 function g(dict<string,mixed> $d): void {
10 $d['b'] = true;