mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-26 13:29:12 +00:00
Fix type errors
This commit is contained in:
parent
7df3d191d5
commit
80a98668d5
4 changed files with 5 additions and 9 deletions
|
@ -2863,7 +2863,7 @@ pub fn build_exp_stmt<'a, 'ctx>(
|
|||
|
||||
_ if lay.is_refcounted() => {
|
||||
if value.is_pointer_value() {
|
||||
let value_ptr = match lay.repr {
|
||||
let value_ptr = match lay {
|
||||
LayoutRepr::Union(union_layout)
|
||||
if union_layout
|
||||
.stores_tag_id_in_pointer(env.target_info) =>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue