diff options
author | Kwang Yul Seo <kseo@kodebox.io> | 2017-11-13 08:54:29 +0800 |
---|---|---|
committer | Kwang Yul Seo <kseo@kodebox.io> | 2017-11-13 08:54:55 +0800 |
commit | d70ff5f8c3ce5410e215a47c3fe1fcc88fabd6a3 (patch) | |
tree | 32df711f9508f65883cd7d7ef4f5996496e6cc84 /libsolidity/ast | |
parent | 284c3839720dc1a382299160904d974a280191f3 (diff) | |
download | dexon-solidity-d70ff5f8c3ce5410e215a47c3fe1fcc88fabd6a3.tar dexon-solidity-d70ff5f8c3ce5410e215a47c3fe1fcc88fabd6a3.tar.gz dexon-solidity-d70ff5f8c3ce5410e215a47c3fe1fcc88fabd6a3.tar.bz2 dexon-solidity-d70ff5f8c3ce5410e215a47c3fe1fcc88fabd6a3.tar.lz dexon-solidity-d70ff5f8c3ce5410e215a47c3fe1fcc88fabd6a3.tar.xz dexon-solidity-d70ff5f8c3ce5410e215a47c3fe1fcc88fabd6a3.tar.zst dexon-solidity-d70ff5f8c3ce5410e215a47c3fe1fcc88fabd6a3.zip |
Remove a redundant check
m_type can't be FunctionType::Kind::DelegateCall.
Diffstat (limited to 'libsolidity/ast')
-rw-r--r-- | libsolidity/ast/Types.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libsolidity/ast/Types.cpp b/libsolidity/ast/Types.cpp index ee5f462b..21daac2c 100644 --- a/libsolidity/ast/Types.cpp +++ b/libsolidity/ast/Types.cpp @@ -2574,7 +2574,7 @@ MemberList::MemberMap FunctionType::nativeMembers(ContractDefinition const*) con "selector", make_shared<FixedBytesType>(4) )); - if (m_kind != Kind::BareDelegateCall && m_kind != Kind::DelegateCall) + if (m_kind != Kind::BareDelegateCall) { if (isPayable()) members.push_back(MemberList::Member( |