mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Remove duplicated check for unimplemented functions
This commit is contained in:
parent
ef8c404c45
commit
2186401479
@ -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())
|
||||||
|
Loading…
Reference in New Issue
Block a user