Add readonly to decl and function types
[hiphop-php.git] / hphp / hack / test / decl / returns_void_to_rx.php.exp
blobd8b2a662eb1ba6bc414c1a44915c90d90b5ad324
1 [("\\f",
2 (Shallow_decl_defs.Fun
3 { Typing_defs.fe_deprecated = None;
4 fe_type =
5 (Rwitness (root|returns_void_to_rx.php line 4, characters 10-10),
6 (Tfun
7 { ft_arity = (Fstandard ()); ft_tparams = [];
8 ft_where_constraints = []; ft_params = [];
9 ft_implicit_params = { capability = (CapDefaults [4:10-11]) };
10 ft_ret =
11 { et_enforced = false;
12 et_type =
13 (Rhint (root|returns_void_to_rx.php line 4, characters 15-18),
14 (Tprim Tvoid))
16 ft_flags =
17 (make_ft_flags FSync None ~return_disposable:false
18 ~returns_mutable:false ~returns_void_to_rx:true
19 ~returns_readonly:false ~readonly_this:false);
20 ft_reactive = Nonreactive; ft_ifc_decl = FDPolicied {PUBLIC} }));
21 fe_pos = [4:10-11]; fe_php_std_lib = false }))
24 They matched!