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)
|
if (subId != _subId)
|
||||||
continue;
|
continue;
|
||||||
auto it = _replacements.find(tagId);
|
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())
|
if (it != _replacements.end())
|
||||||
{
|
{
|
||||||
changed = true;
|
changed = true;
|
||||||
|
Loading…
Reference in New Issue
Block a user