This commit is contained in:
Folkert 2021-06-21 23:14:05 +02:00
parent f57e7a6eed
commit 98b4930054
7 changed files with 14 additions and 14 deletions

View file

@ -582,7 +582,7 @@ impl<'a> BorrowInfState<'a> {
}
}
CoerceToTagId { structure: x, .. } => {
UnionAtIndex { structure: x, .. } => {
// if the structure (record/tag/array) is owned, the extracted value is
if self.is_owned(*x) {
self.own_var(z);