mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-26 21:39:07 +00:00
parent
9620f9e0e8
commit
6ea6aef0db
2 changed files with 15 additions and 0 deletions
|
@ -596,6 +596,9 @@ fn addr_to_ast<'a, M: ReplAppMemory>(
|
|||
F64 => helper!(deref_f64, f64),
|
||||
}
|
||||
}
|
||||
(_, Layout::Builtin(Builtin::Decimal)) => {
|
||||
helper!(deref_dec, RocDec)
|
||||
}
|
||||
(_, Layout::Builtin(Builtin::List(elem_layout))) => {
|
||||
let elem_addr = mem.deref_usize(addr);
|
||||
let len = mem.deref_usize(addr + env.target_info.ptr_width() as usize);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue