aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity/codegen
diff options
context:
space:
mode:
authorAlex Beregszaszi <alex@rtfs.hu>2017-06-29 01:15:41 +0800
committerAlex Beregszaszi <alex@rtfs.hu>2017-09-13 18:40:57 +0800
commitfd1f8ab38ba7f2bb04e67a44ea5e947eddcf9b13 (patch)
treef26a3d511fb37abc12b67070582acc20cac3d156 /libsolidity/codegen
parent88946f9f03625fab345572c66b33ee3e05a07159 (diff)
downloaddexon-solidity-fd1f8ab38ba7f2bb04e67a44ea5e947eddcf9b13.tar.gz
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.cpp2
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