Constraints for function arguments
[hiphop-php.git] / hphp / hack / test / shape_analysis / simplify_constraints / break.php
blob0253edd9aba59d66a027054032dc51a5bfae868f
1 <?hh
3 function f(): void {
4 $b = true;
5 $d = dict[];
6 while ($b) {
7 $d['a'] = true;
8 inspect($d);
9 break;
10 $d['b'] = 42;
11 inspect($d);
13 $d['c'] = 42.0;
14 inspect($d);
17 function inspect(mixed $_): void {}