mirror of
https://github.com/roc-lang/roc.git
synced 2025-07-24 06:55:15 +00:00
Fix some usize -> u64 in List patterns
This commit is contained in:
parent
b2ce7e5fcf
commit
e8a0b0930d
3 changed files with 17 additions and 30 deletions
|
@ -13,12 +13,11 @@ pub(crate) fn decode_from_utf8_result<'a, 'ctx>(
|
|||
layout_interner: &STLayoutInterner<'a>,
|
||||
pointer: PointerValue<'ctx>,
|
||||
) -> BasicValueEnum<'ctx> {
|
||||
let layout = LayoutRepr::Struct(env.arena.alloc([
|
||||
Layout::usize(env.target_info),
|
||||
Layout::STR,
|
||||
Layout::BOOL,
|
||||
Layout::U8,
|
||||
]));
|
||||
let layout =
|
||||
LayoutRepr::Struct(
|
||||
env.arena
|
||||
.alloc([Layout::U64, Layout::STR, Layout::BOOL, Layout::U8]),
|
||||
);
|
||||
|
||||
load_roc_value(
|
||||
env,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue