This commit is contained in:
Folkert 2022-12-20 00:24:54 +01:00
parent 9bf8d65170
commit 976305bda2
No known key found for this signature in database
GPG key ID: 1F17F6FFD112B97C

View file

@ -760,7 +760,7 @@ fn build_struct_eq_help<'a, 'ctx, 'env>(
use_roc_value(env, *field_layout, field2, "field2"),
field_layout,
field_layout,
when_recursive.clone(),
when_recursive,
)
.into_int_value()
};
@ -952,7 +952,7 @@ fn build_tag_eq_help<'a, 'ctx, 'env>(
env,
layout_ids,
union_layout,
Some(when_recursive.clone()),
Some(when_recursive),
field_layouts,
tag1,
tag2,