mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Fixed diamond inheritance bug for interface inheritance case
This commit is contained in:
parent
01c1adf2a4
commit
cc3acf39d7
@ -415,7 +415,8 @@ void SolInterface::addOverrides()
|
||||
overrideHelper(f, base);
|
||||
// Override base interface functions that are themselves overrides
|
||||
for (auto &e: base->m_overrideMap)
|
||||
overrideHelper(e.first, base);
|
||||
for (auto &b: e.second)
|
||||
overrideHelper(e.first, b->m_baseInterface);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user