diff --git a/compiler/gen/src/crane/convert.rs b/compiler/gen/src/crane/convert.rs index 8f0d1451f5..24465d521f 100644 --- a/compiler/gen/src/crane/convert.rs +++ b/compiler/gen/src/crane/convert.rs @@ -27,7 +27,9 @@ pub fn type_from_layout(cfg: TargetFrontendConfig, layout: &Layout<'_>) -> Type Builtin(builtin) => match builtin { Int64 => types::I64, Float64 => types::F64, - Str | Map(_, _) | Set(_) | List(_) => cfg.pointer_type(), + Str | EmptyStr | Map(_, _) | EmptyMap | Set(_) | EmptySet | List(_) | EmptyList => { + cfg.pointer_type() + } }, } }