diff options
author | Alex Beregszaszi <alex@rtfs.hu> | 2017-06-29 01:15:41 +0800 |
---|---|---|
committer | Alex Beregszaszi <alex@rtfs.hu> | 2017-09-13 18:40:57 +0800 |
commit | fd1f8ab38ba7f2bb04e67a44ea5e947eddcf9b13 (patch) | |
tree | f26a3d511fb37abc12b67070582acc20cac3d156 /libsolidity/codegen | |
parent | 88946f9f03625fab345572c66b33ee3e05a07159 (diff) | |
download | dexon-solidity-fd1f8ab38ba7f2bb04e67a44ea5e947eddcf9b13.tar dexon-solidity-fd1f8ab38ba7f2bb04e67a44ea5e947eddcf9b13.tar.gz dexon-solidity-fd1f8ab38ba7f2bb04e67a44ea5e947eddcf9b13.tar.bz2 dexon-solidity-fd1f8ab38ba7f2bb04e67a44ea5e947eddcf9b13.tar.lz dexon-solidity-fd1f8ab38ba7f2bb04e67a44ea5e947eddcf9b13.tar.xz dexon-solidity-fd1f8ab38ba7f2bb04e67a44ea5e947eddcf9b13.tar.zst dexon-solidity-fd1f8ab38ba7f2bb04e67a44ea5e947eddcf9b13.zip |
Rename .sig to .selector on function types
Diffstat (limited to 'libsolidity/codegen')
-rw-r--r-- | libsolidity/codegen/ExpressionCompiler.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libsolidity/codegen/ExpressionCompiler.cpp b/libsolidity/codegen/ExpressionCompiler.cpp index b7aadc12..631a25ff 100644 --- a/libsolidity/codegen/ExpressionCompiler.cpp +++ b/libsolidity/codegen/ExpressionCompiler.cpp @@ -1068,7 +1068,7 @@ bool ExpressionCompiler::visit(MemberAccess const& _memberAccess) solAssert(false, "Invalid member access to integer"); break; case Type::Category::Function: - if (member == "sig") + if (member == "selector") { m_context << Instruction::SWAP1 << Instruction::POP; /// need to store store it as bytes4 |