Skip to content

Commit

Permalink
Fix ArrayDomain.assign(NullityDomain)
Browse files Browse the repository at this point in the history
  • Loading branch information
niyaznigmatullin committed Dec 8, 2023
1 parent 84ec1e1 commit 7b5202f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -752,7 +752,7 @@ data class ArrayDomainValue(
}

override fun assign(other: AbstractDomainValue): AbstractDomainValue = when (other) {
is NullityAbstractDomainValue -> PtrDomainValue(nullity.assign(other), type)
is NullityAbstractDomainValue -> ArrayDomainValue(nullity.assign(other), type, length)
is PtrDomainValue -> ArrayDomainValue(nullity.assign(other.nullity), type.assign(other.type), length)
is ArrayDomainValue -> ArrayDomainValue(
nullity.assign(other.nullity),
Expand Down

0 comments on commit 7b5202f

Please sign in to comment.