Skip to content

Commit bdbbd05

Browse files
authored
feat(compiler): Use program location for _gmain (#2231)
1 parent 3b362a2 commit bdbbd05

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/src/codegen/compcore.re

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3245,7 +3245,7 @@ let compile_main = (wasm_mod, env, prog) => {
32453245
body: prog.main_body,
32463246
stack_size: prog.main_body_stack_size,
32473247
attrs: [],
3248-
func_loc: Grain_parsing.Location.dummy_loc,
3248+
func_loc: prog.prog_loc,
32493249
},
32503250
);
32513251
};

0 commit comments

Comments
 (0)