mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-03 00:24:34 +00:00
implement layout for Tag
This commit is contained in:
parent
8c7124aba6
commit
d875f8bfce
5 changed files with 28 additions and 11 deletions
|
@ -68,7 +68,7 @@ pub fn basic_type_from_layout<'ctx>(
|
|||
.struct_type(field_types.into_bump_slice(), false)
|
||||
.as_basic_type_enum()
|
||||
}
|
||||
Tag(_fields) => {
|
||||
Union(_fields) => {
|
||||
panic!("TODO layout_to_basic_type for Tag");
|
||||
}
|
||||
Pointer(_layout) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue