Skip to content

Commit ffaabeb

Browse files
committed
shared/runtime/pyexec.c: fix merge error
1 parent 94b4867 commit ffaabeb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

shared/runtime/pyexec.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ static int parse_compile_execute(const void *source, mp_parse_input_kind_t input
105105
mp_module_context_t *ctx = m_new_obj(mp_module_context_t);
106106
ctx->module.globals = mp_globals_get();
107107
ctx->constants = frozen->constants;
108-
module_fun = mp_make_function_from_raw_code(frozen->rc, ctx, NULL);
108+
module_fun = mp_make_function_from_proto_fun(frozen->proto_fun, ctx, NULL);
109109
} else
110110
#endif
111111
{

0 commit comments

Comments
 (0)