mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-28 22:34:45 +00:00
Boxed skeleton
This commit is contained in:
parent
7be0349eee
commit
09f01ba193
8 changed files with 31 additions and 1 deletions
|
@ -79,6 +79,14 @@ pub fn basic_type_from_layout<'a, 'ctx, 'env>(
|
|||
.as_basic_type_enum()
|
||||
}
|
||||
|
||||
Boxed(_) => {
|
||||
// TODO make this dynamic
|
||||
env.context
|
||||
.i64_type()
|
||||
.ptr_type(AddressSpace::Generic)
|
||||
.as_basic_type_enum()
|
||||
}
|
||||
|
||||
Builtin(builtin) => basic_type_from_builtin(env, builtin),
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue