|
@@ -276,7 +276,7 @@ let constants =
|
|
|
"$";"add";"remove";"has";"__t";"module";"isPrivate";"isPublic";"isExtern";"isInterface";"exclude";
|
|
|
"constructs";"names";"superClass";"interfaces";"fields";"statics";"constructor";"init";"t";
|
|
|
"gid";"uid";"atime";"mtime";"ctime";"dev";"ino";"nlink";"rdev";"size";"mode";"pos";"len";
|
|
|
- "binops";"unops";"from";"to";"array";"op";"isPostfix";"impl";
|
|
|
+ "binops";"unops";"from";"to";"array";"op";"isPostfix";"impl";"resolve";
|
|
|
"id";"capture";"extra";"v";"ids";"vars";"en";"overrides";"status"];
|
|
|
h
|
|
|
|
|
@@ -4371,6 +4371,7 @@ and encode_tabstract a =
|
|
|
"from", enc_array ((List.map (fun t -> enc_obj [ "t",encode_type t; "field",VNull]) a.a_from) @ (List.map (fun (t,cf) -> enc_obj [ "t",encode_type t; "field",encode_cfield cf]) a.a_from_field));
|
|
|
"to", enc_array ((List.map (fun t -> enc_obj [ "t",encode_type t; "field",VNull]) a.a_to) @ (List.map (fun (t,cf) -> enc_obj [ "t",encode_type t; "field",encode_cfield cf]) a.a_to_field));
|
|
|
"array", enc_array (List.map encode_cfield a.a_array);
|
|
|
+ "resolve", (match a.a_resolve with None -> VNull | Some cf -> encode_cfref cf)
|
|
|
]
|
|
|
|
|
|
and encode_efield f =
|