Skip to content

Commit

Permalink
Merge pull request #102 from niyaznigmatullin/array_domain_assign_null
Browse files Browse the repository at this point in the history
Fix ArrayDomain.assign(NullityDomain)
  • Loading branch information
AbdullinAM authored Dec 11, 2023
2 parents 84ec1e1 + 7b5202f commit e793392
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 e793392

Please sign in to comment.