Add readonly to decl and function types
[hiphop-php.git] / hphp / hack / test / decl / abstract_method.php.exp
blob5d79a3409f2dd3e2106317fdba33f11ba706bd02
1 [("\\C",
2 (Shallow_decl_defs.Class
3 { Shallow_decl_defs.sc_mode = Mstrict; sc_final = false;
4 sc_is_xhp = false; sc_has_xhp_keyword = false; sc_kind = Cabstract;
5 sc_name = ([3:16-17], "\\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 = ([4:28-29], "f"); sm_reactivity = None;
13 sm_type =
14 (Rwitness (root|abstract_method.php line 4, characters 28-28),
15 (Tfun
16 { ft_arity = (Fstandard ()); ft_tparams = [];
17 ft_where_constraints = []; ft_params = [];
18 ft_implicit_params = { capability = (CapDefaults [4:28-29]) };
19 ft_ret =
20 { et_enforced = false;
21 et_type =
22 (Rhint (root|abstract_method.php line 4, characters 33-36),
23 (Tprim Tvoid))
25 ft_flags =
26 (make_ft_flags FSync None ~return_disposable:false
27 ~returns_mutable:false ~returns_void_to_rx:false
28 ~returns_readonly:false ~readonly_this:false);
29 ft_reactive = Nonreactive; ft_ifc_decl = FDPolicied {PUBLIC}
30 }));
31 sm_visibility = Public; sm_deprecated = None; sm_flags = abstract }
33 sc_user_attributes = []; sc_enum_type = None }))
36 They matched!