|
@@ -1304,10 +1304,10 @@ let rec s_expr_ast print_var_ids tabs s_type e =
|
|
|
| TEnumIndex e1 -> tag "EnumIndex" [loop e1]
|
|
|
| TField (e1,fa) ->
|
|
|
let sfa = match fa with
|
|
|
- | FInstance(c,tl,cf) -> tag "FInstance" ~extra_tabs:"\t" [s_type (TInst(c,tl)); cf.cf_name]
|
|
|
- | FStatic(c,cf) -> tag "FStatic" ~extra_tabs:"\t" [s_type_path c.cl_path; cf.cf_name]
|
|
|
- | FClosure(co,cf) -> tag "FClosure" ~extra_tabs:"\t" [(match co with None -> "None" | Some (c,tl) -> s_type (TInst(c,tl))); cf.cf_name]
|
|
|
- | FAnon cf -> tag "FAnon" ~extra_tabs:"\t" [cf.cf_name]
|
|
|
+ | FInstance(c,tl,cf) -> tag "FInstance" ~extra_tabs:"\t" [s_type (TInst(c,tl)); Printf.sprintf "%s:%s" cf.cf_name (s_type cf.cf_type)]
|
|
|
+ | FStatic(c,cf) -> tag "FStatic" ~extra_tabs:"\t" [s_type_path c.cl_path; Printf.sprintf "%s:%s" cf.cf_name (s_type cf.cf_type)]
|
|
|
+ | FClosure(co,cf) -> tag "FClosure" ~extra_tabs:"\t" [(match co with None -> "None" | Some (c,tl) -> s_type (TInst(c,tl))); Printf.sprintf "%s:%s" cf.cf_name (s_type cf.cf_type)]
|
|
|
+ | FAnon cf -> tag "FAnon" ~extra_tabs:"\t" [Printf.sprintf "%s:%s" cf.cf_name (s_type cf.cf_type)]
|
|
|
| FDynamic s -> tag "FDynamic" ~extra_tabs:"\t" [s]
|
|
|
| FEnum(en,ef) -> tag "FEnum" ~extra_tabs:"\t" [s_type_path en.e_path; ef.ef_name]
|
|
|
in
|