Remove duplicated check for unimplemented functions

This commit is contained in:
Alex Beregszaszi 2017-08-04 01:14:56 +01:00
parent ef8c404c45
commit 2186401479

View File

@ -112,8 +112,6 @@ bool TypeChecker::visit(ContractDefinition const& _contract)
m_errorReporter.typeError(fallbackFunction->returnParameterList()->location(), "Fallback function cannot return values."); m_errorReporter.typeError(fallbackFunction->returnParameterList()->location(), "Fallback function cannot return values.");
} }
} }
if (!function->isImplemented())
_contract.annotation().unimplementedFunctions.push_back(function);
} }
for (auto const& n: _contract.subNodes()) for (auto const& n: _contract.subNodes())