mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Unifies behavior for member access of ABI functions.
This commit is contained in:
@@ -1401,7 +1401,7 @@ bool ExpressionCompiler::visit(MemberAccess const& _memberAccess)
|
||||
m_context << Instruction::DUP1 << u256(32) << Instruction::ADD;
|
||||
utils().storeStringData(contract.name());
|
||||
}
|
||||
else if (member == "encode" || member == "decode")
|
||||
else if ((set<string>{"encode", "encodePacked", "encodeWithSelector", "encodeWithSignature", "decode"}).count(member))
|
||||
{
|
||||
// no-op
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user