Remove unneeded assert

An error will trigger later in the name resolve phase
This commit is contained in:
Mathias Baumann
2020-10-05 13:01:11 +02:00
parent 756e21a888
commit 6af16469e7
2 changed files with 4 additions and 5 deletions
-5
View File
@@ -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."
);
}
}