No error on use of `unsafe_cast`
[hiphop-php.git] / hphp / hack / test / typecheck / constraint_newtype_param_type.php.exp
blob99186b8770d92c2e8aedf4f3ab97a48a37883832
1 File "constraint_newtype_param_type.php--a.php", line 6, characters 25-28:
2 Some type arguments violate their constraints (Typing[4323])
3 File "constraint_newtype_param_type.php--a.php", line 3, characters 11-11:
4 `T` is a constrained type parameter
5 File "constraint_newtype_param_type.php--a.php", line 3, characters 16-23:
6 This type constraint is violated
7 File "constraint_newtype_param_type.php--a.php", line 3, characters 16-23:
8 Expected `arraykey`
9 File "constraint_newtype_param_type.php--a.php", line 6, characters 27-27:
10 But got `T`
11 File "constraint_newtype_param_type.php--a.php", line 4, characters 15-15:
12 via this generic `T`