mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Fix tab, drop stupid '!!!', change error message.
This commit is contained in:
parent
f3a84eab91
commit
b24ca4fa23
@ -186,7 +186,7 @@ bool CompilerStack::parse()
|
|||||||
if (contract != existingContract)
|
if (contract != existingContract)
|
||||||
BOOST_THROW_EXCEPTION(CompilerError() <<
|
BOOST_THROW_EXCEPTION(CompilerError() <<
|
||||||
errinfo_sourceLocation(contract->location()) <<
|
errinfo_sourceLocation(contract->location()) <<
|
||||||
errinfo_comment(contract->name() + " conflicts with contract at "
|
errinfo_comment(contract->name() + " is already defined at "
|
||||||
+ *(existingContract->location().sourceName)));
|
+ *(existingContract->location().sourceName)));
|
||||||
}
|
}
|
||||||
m_contracts[contract->name()].contract = contract;
|
m_contracts[contract->name()].contract = contract;
|
||||||
@ -216,7 +216,7 @@ bool CompilerStack::parse()
|
|||||||
if (contract != existingContract)
|
if (contract != existingContract)
|
||||||
BOOST_THROW_EXCEPTION(CompilerError() <<
|
BOOST_THROW_EXCEPTION(CompilerError() <<
|
||||||
errinfo_sourceLocation(contract->location()) <<
|
errinfo_sourceLocation(contract->location()) <<
|
||||||
errinfo_comment(contract->name() + " conflicts with!!! contract at "
|
errinfo_comment(contract->name() + " is already defined at "
|
||||||
+ *(existingContract->location().sourceName)));
|
+ *(existingContract->location().sourceName)));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user