Introduce the ConstFun attribute
[hiphop-php.git] / hphp / hack / test / decl / namespace_body_plus_declarations_outside_body.php.exp
bloba746a0d6d1592341ec3372322b487c3f80b993ca
1 [("\\X\\a",
2 (Shallow_decl_defs.Fun
3 { Typing_defs.fe_deprecated = None;
4 fe_type =
5 (Rwitness (root|namespace_body_plus_declarations_outside_body.php line 4, characters 12-12),
6 (Tfun
7 { ft_arity = (Fstandard ()); ft_tparams = [];
8 ft_where_constraints = []; ft_params = [];
9 ft_implicit_params = { capability = (CapDefaults [4:12-13]) };
10 ft_ret =
11 { et_enforced = false;
12 et_type =
13 (Rhint (root|namespace_body_plus_declarations_outside_body.php line 4, characters 17-20),
14 (Tprim Tvoid))
16 ft_flags =
17 (make_ft_flags FSync None ~return_disposable:false
18 ~returns_mutable:false ~returns_void_to_rx:false
19 ~returns_readonly:false ~readonly_this:false ~is_const:false);
20 ft_reactive = Nonreactive; ft_ifc_decl = FDPolicied {PUBLIC} }));
21 fe_pos = [4:12-13]; fe_php_std_lib = false }));
22 ("\\b",
23 (Shallow_decl_defs.Fun
24 { Typing_defs.fe_deprecated = None;
25 fe_type =
26 (Rwitness (root|namespace_body_plus_declarations_outside_body.php line 9, characters 10-10),
27 (Tfun
28 { ft_arity = (Fstandard ()); ft_tparams = [];
29 ft_where_constraints = []; ft_params = [];
30 ft_implicit_params = { capability = (CapDefaults [9:10-11]) };
31 ft_ret =
32 { et_enforced = false;
33 et_type =
34 (Rhint (root|namespace_body_plus_declarations_outside_body.php line 9, characters 15-18),
35 (Tprim Tvoid))
37 ft_flags =
38 (make_ft_flags FSync None ~return_disposable:false
39 ~returns_mutable:false ~returns_void_to_rx:false
40 ~returns_readonly:false ~readonly_this:false ~is_const:false);
41 ft_reactive = Nonreactive; ft_ifc_decl = FDPolicied {PUBLIC} }));
42 fe_pos = [9:10-11]; fe_php_std_lib = false }))
45 They matched!