mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-27 13:59:08 +00:00
fix recursive tag memory layout
This commit is contained in:
parent
1cb57859cf
commit
44777c5cac
2 changed files with 61 additions and 36 deletions
|
@ -486,8 +486,6 @@ fn jit_to_ast_help<'a, A: ReplApp<'a>>(
|
|||
}
|
||||
};
|
||||
|
||||
dbg!("got here");
|
||||
|
||||
app.call_function_dynamic_size(
|
||||
main_fn_name,
|
||||
result_stack_size as usize,
|
||||
|
@ -755,6 +753,7 @@ fn addr_to_ast<'a, M: ReplAppMemory>(
|
|||
|
||||
let (tag_id, ptr_to_data) = tag_id_from_recursive_ptr(env, mem, union_layout, addr);
|
||||
|
||||
|
||||
let (tag_name, arg_layouts) = &tags_and_layouts[tag_id as usize];
|
||||
expr_of_tag(
|
||||
env,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue