lang: codegen: function load now uses func type instead of id
This commit is contained in:
@@ -77,7 +77,7 @@ static struct code_generator_result gen_lambda(
|
||||
= mie_builder_get_data_ptr(gen->c_builder, "Lambda");
|
||||
struct mie_value *sel = mie_ctx_get_selector(gen->c_ctx, "_M3new4funcE");
|
||||
struct mie_value *func_value = mie_builder_load(
|
||||
gen->c_builder, id, MIE_VALUE(lambda->s_func), NULL);
|
||||
gen->c_builder, func_type, MIE_VALUE(lambda->s_func), NULL);
|
||||
struct mie_value *args[] = {
|
||||
func_value,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user