Do not allow value for delegatecall functions.

This commit is contained in:
chriseth
2016-03-11 17:50:09 +01:00
parent d0054a8d29
commit 299fef0c79
+1 -1
View File
@@ -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<FunctionType>(