mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Remove unneeded assert
An error will trigger later in the name resolve phase
This commit is contained in:
@@ -1124,11 +1124,6 @@ void CompilerStack::storeContractDefinitions()
|
||||
// should already cause a double-declaration error elsewhere.
|
||||
if (!m_contracts.count(fullyQualifiedName))
|
||||
m_contracts[fullyQualifiedName].contract = contract;
|
||||
else
|
||||
solAssert(
|
||||
m_errorReporter.hasErrors(),
|
||||
"Contract already present (name clash?), but no error was reported."
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user