mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Merge pull request #7640 from ethereum/smt_fix_060
[SMTChecker] Fix override tests
This commit is contained in:
@@ -52,6 +52,7 @@ bool SMTEncoder::visit(ContractDefinition const& _contract)
|
||||
for (auto const& function: resolvedFunctions)
|
||||
if (
|
||||
function->name() == baseFunction->name() &&
|
||||
function->kind() == baseFunction->kind() &&
|
||||
FunctionType(*function).asCallableFunction(false)->
|
||||
hasEqualParameterTypes(*FunctionType(*baseFunction).asCallableFunction(false))
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user