fix mono test

This commit is contained in:
Folkert 2020-11-14 02:58:12 +01:00
parent 154b5cc29f
commit 0dde6da77d
2 changed files with 5 additions and 1 deletions

View file

@ -765,7 +765,7 @@ pub fn build_exp_expr<'a, 'ctx, 'env>(
field_types.push(field_type);
if let Layout::RecursivePointer = tag_field_layout {
let ptr = allocate_with_refcount(env, &tag_layout, val).into();
let ptr = allocate_with_refcount(env, &tag_layout, val);
builder.build_store(ptr, val);