We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 028afc0 commit 1655e22Copy full SHA for 1655e22
include/swift/SIL/MemAccessUtils.h
@@ -943,7 +943,8 @@ class AccessPath {
943
944
bool operator==(AccessPath other) const {
945
return
946
- storage.hasIdenticalBase(other.storage) && pathNode == other.pathNode;
+ storage.hasIdenticalBase(other.storage) && pathNode == other.pathNode &&
947
+ offset == other.offset;
948
}
949
bool operator!=(AccessPath other) const { return !(*this == other); }
950
0 commit comments