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;
|
||||
if (hashes.count(hash))
|
||||
BOOST_THROW_EXCEPTION(
|
||||
createTypeError(
|
||||
string("Function signature hash collision for ") + it.second->externalSignature())
|
||||
);
|
||||
BOOST_THROW_EXCEPTION(createTypeError(
|
||||
string("Function signature hash collision for ") + it.second->externalSignature()
|
||||
));
|
||||
hashes.insert(hash);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user