No error on use of `unsafe_cast`
[hiphop-php.git] / hphp / hack / test / typecheck / T90699200.php.exp
blob26f61a50e2f6c26239d2632a2b3bc1634d34b0a0
1 File "T90699200.php", line 5, characters 8-25:
2 Invalid `echo`/`print` argument (Typing[4438])
3 File "T90699200.php", line 5, characters 3-6:
4 Expected `(dynamic | arraykey)`
5 File "T90699200.php", line 5, characters 8-25:
6 But got `shape('key' => int)`
7 File "T90699200.php", line 7, characters 8-11:
8 Invalid `echo`/`print` argument (Typing[4438])
9 File "T90699200.php", line 7, characters 3-6:
10 Expected `(dynamic | arraykey)`
11 File "T90699200.php", line 7, characters 8-11:
12 But got `bool`
13 File "T90699200.php", line 9, characters 9-29:
14 Invalid `echo`/`print` argument (Typing[4438])
15 File "T90699200.php", line 9, characters 3-6:
16 Expected `(dynamic | arraykey)`
17 File "T90699200.php", line 9, characters 26-29:
18 But got `?string`
19 File "T90699200.php", line 11, characters 8-22:
20 Invalid `echo`/`print` argument (Typing[4438])
21 File "T90699200.php", line 11, characters 3-6:
22 Expected `(dynamic | arraykey)`
23 File "T90699200.php", line 11, characters 12-20:
24 But got `Exception`