Re-allow multiple modifiers per function.

This commit is contained in:
chriseth
2017-07-27 13:45:39 +02:00
parent 07e0a7e090
commit 7c7c2baa82
6 changed files with 41 additions and 9 deletions
-2
View File
@@ -510,8 +510,6 @@ bool TypeChecker::visit(FunctionDefinition const& _function)
{
if (dynamic_cast<ContractDefinition const*>(decl))
m_errorReporter.declarationError(modifier->location(), "Base constructor already provided.");
else
m_errorReporter.declarationError(modifier->location(), "Modifier already used for this function.");
}
else
modifiers.insert(decl);