summaryrefslogtreecommitdiff
path: root/src/TranslateCore.ml
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/TranslateCore.ml10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/TranslateCore.ml b/src/TranslateCore.ml
index e77445cd..326bb05f 100644
--- a/src/TranslateCore.ml
+++ b/src/TranslateCore.ml
@@ -24,7 +24,7 @@ type global_context = C.global_context [@@deriving show]
type trans_ctx = {
type_context : type_context;
fun_context : fun_context;
- global_context : global_context
+ global_context : global_context;
}
type pure_fun_translation = Pure.fun_decl * Pure.fun_decl list
@@ -46,7 +46,9 @@ let fun_sig_to_string (ctx : trans_ctx) (sg : Pure.fun_sig) : string =
let type_decls = ctx.type_context.type_decls in
let fun_decls = ctx.fun_context.fun_decls in
let global_decls = ctx.global_context.global_decls in
- let fmt = PrintPure.mk_ast_formatter type_decls fun_decls global_decls type_params in
+ let fmt =
+ PrintPure.mk_ast_formatter type_decls fun_decls global_decls type_params
+ in
PrintPure.fun_sig_to_string fmt sg
let fun_decl_to_string (ctx : trans_ctx) (def : Pure.fun_decl) : string =
@@ -54,7 +56,9 @@ let fun_decl_to_string (ctx : trans_ctx) (def : Pure.fun_decl) : string =
let type_decls = ctx.type_context.type_decls in
let fun_decls = ctx.fun_context.fun_decls in
let global_decls = ctx.global_context.global_decls in
- let fmt = PrintPure.mk_ast_formatter type_decls fun_decls global_decls type_params in
+ let fmt =
+ PrintPure.mk_ast_formatter type_decls fun_decls global_decls type_params
+ in
PrintPure.fun_decl_to_string fmt def
let fun_decl_id_to_string (ctx : trans_ctx) (id : A.FunDeclId.id) : string =