diff --git a/src/stages/5-ast_typed/PP_json.ml b/src/stages/5-ast_typed/PP_json.ml index 2a17e0fc0..1156d4038 100644 --- a/src/stages/5-ast_typed/PP_json.ml +++ b/src/stages/5-ast_typed/PP_json.ml @@ -58,7 +58,7 @@ module M = struct `Assoc [("wrap_content", continue NoState wrap_content) ; ("location", `String (asprintf "%a" Location.pp location))] ); (*TODO*) option = (fun _visitor continue NoState o -> match o with - | None -> `Null + | None -> `List [ `String "None" ; `Null ] | Some v -> `List [ `String "Some" ; continue NoState v ] ); poly_unionfind = (fun _visitor continue NoState p -> let lst = (UnionFind.Poly2.partitions p) in