Skip to content

Commit

Permalink
small cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
kLabz committed Oct 4, 2023
1 parent 405bd38 commit fd31346
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/typing/macroContext.ml
Original file line number Diff line number Diff line change
Expand Up @@ -1053,14 +1053,12 @@ let call_init_macro com mctx e =
let api = make_macro_com_api com p in
(match !macro_interp_cache with
| None ->
(* trace "create macro interp for init macro"; *)
let init,_ = create_macro_interp api mctx in
init();
| _ -> ());

let mctx, (margs,_,mclass,mfield), call = load_macro mctx com mctx api false path meth p in
ignore(call_macro mctx args margs call p);
(* (Some mctx, Some api) *)
mctx

let finalize_macro_api tctx mctx =
Expand Down

0 comments on commit fd31346

Please sign in to comment.