Apply suggestions from code review

Thanks @vincent-botbol

Co-authored-by: vbot <vincent.botbol@inria.fr>
This commit is contained in:
Louis Gesbert 2024-08-28 14:09:02 +02:00
parent 9fa5f91e3a
commit 8e91dcb281

View File

@ -22,11 +22,9 @@ let needs_parens (_e : expr) : bool = false
let format_var_name (fmt : Format.formatter) (v : VarName.t) : unit =
VarName.format fmt v
(* Format.fprintf fmt "%a_%d" VarName.format v (VarName.id v) *)
let format_func_name (fmt : Format.formatter) (v : FuncName.t) : unit =
FuncName.format fmt v
(* Format.fprintf fmt "@{<green>%a_%d@}" FuncName.format v (FuncName.id v) *)
let rec format_expr
(decl_ctx : decl_ctx)