Rename asCallableFunction.

This commit is contained in:
chriseth
2020-05-26 11:35:12 +02:00
parent e6b399c86e
commit 9604174151
7 changed files with 18 additions and 18 deletions
+2 -2
View File
@@ -139,8 +139,8 @@ void OverridingFunction::endVisit(ContractDefinition const& _contract)
for (auto [begin, end] = inheritedFunctions.equal_range(proxy); begin != end; begin++)
{
auto& super = (*begin);
auto functionType = FunctionType(*function).asCallableFunction(false);
auto superType = super.functionType()->asCallableFunction(false);
auto functionType = FunctionType(*function).asExternallyCallableFunction(false);
auto superType = super.functionType()->asExternallyCallableFunction(false);
if (functionType && functionType->hasEqualParameterTypes(*superType))
{