aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity/codegen
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2018-11-26 19:34:43 +0800
committerGitHub <noreply@github.com>2018-11-26 19:34:43 +0800
commitbc137c2eeb6920cf33eea1ceaab49df3dfddad07 (patch)
tree9060bcb1897956e25ba0341a3a6619906bc5d67a /libsolidity/codegen
parent9e0e1ee6c229cd904d87ff8c2aba8f56e9da4515 (diff)
parenta781bda5958d2632306118965747fe79cc86f34d (diff)
downloaddexon-solidity-bc137c2eeb6920cf33eea1ceaab49df3dfddad07.tar
dexon-solidity-bc137c2eeb6920cf33eea1ceaab49df3dfddad07.tar.gz
dexon-solidity-bc137c2eeb6920cf33eea1ceaab49df3dfddad07.tar.bz2
dexon-solidity-bc137c2eeb6920cf33eea1ceaab49df3dfddad07.tar.lz
dexon-solidity-bc137c2eeb6920cf33eea1ceaab49df3dfddad07.tar.xz
dexon-solidity-bc137c2eeb6920cf33eea1ceaab49df3dfddad07.tar.zst
dexon-solidity-bc137c2eeb6920cf33eea1ceaab49df3dfddad07.zip
Merge pull request #5485 from ethereum/refactorCallableFunction
Refactor callable function
Diffstat (limited to 'libsolidity/codegen')
-rw-r--r--libsolidity/codegen/CompilerContext.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libsolidity/codegen/CompilerContext.cpp b/libsolidity/codegen/CompilerContext.cpp
index d1bf29fc..b4fad94f 100644
--- a/libsolidity/codegen/CompilerContext.cpp
+++ b/libsolidity/codegen/CompilerContext.cpp
@@ -414,7 +414,7 @@ FunctionDefinition const& CompilerContext::resolveVirtualFunction(
if (
function->name() == name &&
!function->isConstructor() &&
- FunctionType(*function).hasEqualParameterTypes(functionType)
+ FunctionType(*function).asCallableFunction(false)->hasEqualParameterTypes(functionType)
)
return *function;
solAssert(false, "Super function " + name + " not found.");