mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
fixup! Traverse object tree
This commit is contained in:
parent
f34171f806
commit
bfcc87f4a2
@ -187,7 +187,7 @@ vector<size_t> Object::pathToSubObject(YulString _qualifiedName) const
|
|||||||
yulAssert(!_qualifiedName.empty(), "");
|
yulAssert(!_qualifiedName.empty(), "");
|
||||||
|
|
||||||
traverseObjectTree(this, _qualifiedName, [&](Object const* _object) -> bool {
|
traverseObjectTree(this, _qualifiedName, [&](Object const* _object) -> bool {
|
||||||
path.push_back({_object->subId});
|
path.push_back(_object->subId);
|
||||||
return false;
|
return false;
|
||||||
});
|
});
|
||||||
return path;
|
return path;
|
||||||
|
Loading…
Reference in New Issue
Block a user