Python points-to: Fix up tuple inequality analysis.

This commit is contained in:
Mark Shannon
2019-05-13 12:59:19 +01:00
parent 0491fe1356
commit 26044f20c7
4 changed files with 3 additions and 14 deletions

View File

@@ -1343,9 +1343,9 @@ module Expressions {
or
n = other.length() and n = val.length() and result = 0
or
result != 0 and result = compare_unbound(val.getItem(n), val.getItem(n))
result != 0 and result = compare_unbound(val.getItem(n), other.getItem(n))
or
compare_unbound(val.getItem(n), val.getItem(n)) = 0 and result = compare_sequence(val, other, n+1)
compare_unbound(val.getItem(n), other.getItem(n)) = 0 and result = compare_sequence(val, other, n+1)
)
}