mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Fixed bug in BlockDeDuplicator
This commit is contained in:
parent
77796d0349
commit
a9fa9429d5
@ -113,6 +113,10 @@ bool BlockDeduplicator::applyTagReplacement(
|
||||
if (subId != _subId)
|
||||
continue;
|
||||
auto it = _replacements.find(tagId);
|
||||
// Recursively look for the element replaced by tagId
|
||||
for (auto _it = it; _it != _replacements.end(); _it = _replacements.find(_it->second))
|
||||
it = _it;
|
||||
|
||||
if (it != _replacements.end())
|
||||
{
|
||||
changed = true;
|
||||
|
Loading…
Reference in New Issue
Block a user