Rip out legacy reactivity from the typechecker and HackC
[hiphop-php.git] / hphp / hack / test / decl / namespace_import.php.exp
blobd4245f29c7857b28fc2207741c2da52d9f360af8
1 [("\\NS1\\NS2\\T",
2 (Shallow_decl_defs.Typedef
3 { Typing_defs.td_pos = [6:12-13]; td_vis = Transparent; td_tparams = [];
4 td_constraint = None;
5 td_type =
6 (Rhint (root|namespace_import.php line 6, characters 16-18),
7 (Tprim Tint))
8 }));
9 ("\\NS1\\NS2\\C",
10 (Shallow_decl_defs.Class
11 { Shallow_decl_defs.sc_mode = Mstrict; sc_final = false;
12 sc_is_xhp = false; sc_has_xhp_keyword = false; sc_kind = Cnormal;
13 sc_name = ([8:13-14], "\\NS1\\NS2\\C"); sc_tparams = [];
14 sc_where_constraints = []; sc_extends = []; sc_uses = [];
15 sc_xhp_attr_uses = []; sc_req_extends = []; sc_req_implements = [];
16 sc_implements = []; sc_implements_dynamic = false; sc_consts = [];
17 sc_typeconsts = []; sc_props = []; sc_sprops = [];
18 sc_constructor = None; sc_static_methods = []; sc_methods = [];
19 sc_user_attributes = []; sc_enum_type = None }));
20 ("\\test",
21 (Shallow_decl_defs.Fun
22 { Typing_defs.fe_deprecated = None;
23 fe_type =
24 (Rwitness (root|namespace_import.php line 15, characters 12-15),
25 (Tfun
26 { ft_arity = (Fstandard ()); ft_tparams = [];
27 ft_where_constraints = []; ft_params = [];
28 ft_implicit_params = { capability = (CapDefaults [15:12-16]) };
29 ft_ret =
30 { et_enforced = false;
31 et_type =
32 (Rhint (root|namespace_import.php line 15, characters 20-23),
33 (Tapply (([15:20-24], "\\NS1\\NS2\\T"), [])))
35 ft_flags =
36 (make_ft_flags FSync ~return_disposable:false
37 ~returns_readonly:false ~readonly_this:false ~is_const:false);
38 ft_ifc_decl = FDPolicied {PUBLIC} }));
39 fe_pos = [15:12-16]; fe_php_std_lib = false }));
40 ("\\D",
41 (Shallow_decl_defs.Class
42 { Shallow_decl_defs.sc_mode = Mstrict; sc_final = false;
43 sc_is_xhp = false; sc_has_xhp_keyword = false; sc_kind = Cnormal;
44 sc_name = ([19:9-10], "\\D"); sc_tparams = [];
45 sc_where_constraints = []; sc_extends = []; sc_uses = [];
46 sc_xhp_attr_uses = []; sc_req_extends = []; sc_req_implements = [];
47 sc_implements = []; sc_implements_dynamic = false; sc_consts = [];
48 sc_typeconsts = []; sc_props = []; sc_sprops = [];
49 sc_constructor = None; sc_static_methods = []; sc_methods = [];
50 sc_user_attributes =
51 [{ Typing_defs_core.ua_name = ([18:5-13], "__Sealed");
52 ua_classname_params = ["\\NS1\\NS2\\C"] }
54 sc_enum_type = None }))
57 They matched!