mirror of
https://github.com/roc-lang/roc.git
synced 2025-07-24 15:03:46 +00:00
[skip-ci] Fix borrow issues in constraining
This commit is contained in:
parent
59d2de5a55
commit
6b5f632364
7 changed files with 288 additions and 224 deletions
|
@ -2263,7 +2263,7 @@ fn type_cell_to_var(
|
|||
pools: &mut Pools,
|
||||
types: &mut Types,
|
||||
aliases: &mut Aliases,
|
||||
typ_cell: &Cell<Type>,
|
||||
typ_cell: &Cell<Index<TypeTag>>,
|
||||
) -> Variable {
|
||||
let typ = typ_cell.replace(Type::EmptyTagUnion);
|
||||
let var = type_to_var(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue