diff --git a/libsolidity/ast/Types.cpp b/libsolidity/ast/Types.cpp index 0696b9083..4dc1eb131 100644 --- a/libsolidity/ast/Types.cpp +++ b/libsolidity/ast/Types.cpp @@ -1623,7 +1623,7 @@ MemberList::MemberMap FunctionType::nativeMembers(ContractDefinition const*) con case Location::BareDelegateCall: { MemberList::MemberMap members; - if (m_location != Location::BareDelegateCall) + if (m_location != Location::BareDelegateCall && m_location != Location::DelegateCall) members.push_back(MemberList::Member( "value", make_shared(