Skip to content

Commit

Permalink
[typer] fix macro context when no init macros
Browse files Browse the repository at this point in the history
  • Loading branch information
kLabz committed Oct 3, 2023
1 parent bfe6a29 commit 9c1dca3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/typing/macroContext.ml
Original file line number Diff line number Diff line change
Expand Up @@ -731,6 +731,7 @@ let get_macro_context ctx =
let mctx = create_macro_context ctx.com in
let api = make_macro_api mctx null_pos in
let init = create_macro_interp api mctx in
ctx.g.macros <- Some (init,mctx);
mctx.g.macros <- Some (init,mctx);
mctx

Expand Down

0 comments on commit 9c1dca3

Please sign in to comment.