Skip to content

Commit

Permalink
feat(compiler): Use program location for _gmain (#2231)
Browse files Browse the repository at this point in the history
  • Loading branch information
spotandjake authored Jan 17, 2025
1 parent 3b362a2 commit bdbbd05
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/src/codegen/compcore.re
Original file line number Diff line number Diff line change
Expand Up @@ -3245,7 +3245,7 @@ let compile_main = (wasm_mod, env, prog) => {
body: prog.main_body,
stack_size: prog.main_body_stack_size,
attrs: [],
func_loc: Grain_parsing.Location.dummy_loc,
func_loc: prog.prog_loc,
},
);
};
Expand Down

0 comments on commit bdbbd05

Please sign in to comment.