Make hh_single_type_check --MRO output easier to read
[hiphop-php.git] / hphp / hack / test / decl / self_param_mutability.php.exp
blob355f1119112a60401205ff18bb1a38482d7b551e
1 [("\\C",
2 (Shallow_decl_defs.Class
3 { Shallow_decl_defs.sc_mode = Mpartial; sc_final = false;
4 sc_is_xhp = false; sc_has_xhp_keyword = false; sc_kind = Cnormal;
5 sc_name = ([3:7-8], "\\C"); sc_tparams = [];
6 sc_where_constraints = []; sc_extends = []; sc_uses = [];
7 sc_xhp_attr_uses = []; sc_req_extends = []; sc_req_implements = [];
8 sc_implements = []; sc_implements_dynamic = false; sc_consts = [];
9 sc_typeconsts = []; sc_props = []; sc_sprops = [];
10 sc_constructor = None; sc_static_methods = [];
11 sc_methods =
12 [{ Shallow_decl_defs.sm_name = ([5:19-20], "a");
13 sm_reactivity = (Some (Decl_defs.Method_pure None));
14 sm_type =
15 (Rwitness (root|self_param_mutability.php line 5, characters 19-19),
16 (Tfun
17 { ft_arity = (Fstandard ()); ft_tparams = [];
18 ft_where_constraints = []; ft_params = [];
19 ft_implicit_params = { capability = (CapDefaults [5:19-20]) };
20 ft_ret =
21 { et_enforced = false;
22 et_type =
23 (Rhint (root|self_param_mutability.php line 5, characters 24-27),
24 (Tprim Tvoid))
26 ft_flags =
27 (make_ft_flags FSync
28 (Some Typing_defs_core.Param_borrowed_mutable)
29 ~return_disposable:false ~returns_mutable:false
30 ~returns_void_to_rx:false ~returns_readonly:false
31 ~readonly_this:false ~is_const:false);
32 ft_reactive = Pure {}; ft_ifc_decl = FDPolicied {PUBLIC} }));
33 sm_visibility = Public; sm_deprecated = None; sm_flags = (empty) };
34 { Shallow_decl_defs.sm_name = ([8:19-20], "b");
35 sm_reactivity = (Some (Decl_defs.Method_pure None));
36 sm_type =
37 (Rwitness (root|self_param_mutability.php line 8, characters 19-19),
38 (Tfun
39 { ft_arity = (Fstandard ()); ft_tparams = [];
40 ft_where_constraints = []; ft_params = [];
41 ft_implicit_params =
42 { capability = (CapDefaults [8:19-20]) };
43 ft_ret =
44 { et_enforced = false;
45 et_type =
46 (Rhint (root|self_param_mutability.php line 8, characters 24-27),
47 (Tprim Tvoid))
49 ft_flags =
50 (make_ft_flags FSync
51 (Some Typing_defs_core.Param_maybe_mutable)
52 ~return_disposable:false ~returns_mutable:false
53 ~returns_void_to_rx:false ~returns_readonly:false
54 ~readonly_this:false ~is_const:false);
55 ft_reactive = Pure {}; ft_ifc_decl = FDPolicied {PUBLIC} }));
56 sm_visibility = Public; sm_deprecated = None; sm_flags = (empty) }
58 sc_user_attributes = []; sc_enum_type = None }))
61 They matched!