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
0a15157155
commit
745f569443
2
AST.cpp
2
AST.cpp
@ -147,7 +147,7 @@ void ContractDefinition::checkDuplicateFunctions() const
|
||||
SecondarySourceLocation ssl;
|
||||
auto it = functions[getName()].begin();
|
||||
++it;
|
||||
for(; it != functions[getName()].end(); ++it)
|
||||
for (; it != functions[getName()].end(); ++it)
|
||||
ssl.append("Another declaration is here:", (*it)->getLocation());
|
||||
|
||||
BOOST_THROW_EXCEPTION(
|
||||
|
Loading…
Reference in New Issue
Block a user