Skip to content

Commit f188335

Browse files
committed
fix json conversion
1 parent c87c426 commit f188335

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

core/grammar/ast.ml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1761,6 +1761,9 @@ let compil_to_json c =
17611761
(Loc.string_annoted_to_json ~filenames)
17621762
(JsonUtil.of_list (Loc.string_annoted_to_json ~filenames)))
17631763
c.configurations );
1764+
( "working_set_values",
1765+
Mods.IntMap.to_json JsonUtil.of_int JsonUtil.of_bool
1766+
c.working_set_values );
17641767
( "guard_param_values",
17651768
Mods.StringMap.to_json JsonUtil.of_string JsonUtil.of_bool
17661769
c.guard_param_values );
@@ -1781,7 +1784,7 @@ let compil_to_json c =
17811784
]
17821785

17831786
let compil_of_json = function
1784-
| `Assoc l as x when List.length l = 12 ->
1787+
| `Assoc l as x when List.length l = 13 ->
17851788
let var_of_json = JsonUtil.to_string ?error_msg:None in
17861789
(try
17871790
let filenames =

0 commit comments

Comments
 (0)