Fix a bug in LLVM backend refcounting

This commit is contained in:
Brian Carroll 2021-11-27 00:10:54 +00:00
parent 0a58d6e60e
commit a9456639c7

View file

@ -442,8 +442,8 @@ fn modify_refcount_builtin<'a, 'ctx, 'env>(
Some(function)
}
Set(element_layout) => {
let key_layout = &Layout::Struct(&[]);
let value_layout = element_layout;
let key_layout = element_layout;
let value_layout = &Layout::Struct(&[]);
let function = modify_refcount_dict(
env,