mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Update AST.cpp
This commit is contained in:
parent
745f569443
commit
e2d9ef6945
7
AST.cpp
7
AST.cpp
@ -95,10 +95,9 @@ void ContractDefinition::checkTypeRequirements()
|
|||||||
{
|
{
|
||||||
FixedHash<4> const& hash = it.first;
|
FixedHash<4> const& hash = it.first;
|
||||||
if (hashes.count(hash))
|
if (hashes.count(hash))
|
||||||
BOOST_THROW_EXCEPTION(
|
BOOST_THROW_EXCEPTION(createTypeError(
|
||||||
createTypeError(
|
string("Function signature hash collision for ") + it.second->externalSignature()
|
||||||
string("Function signature hash collision for ") + it.second->externalSignature())
|
));
|
||||||
);
|
|
||||||
hashes.insert(hash);
|
hashes.insert(hash);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user