You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If trying to look up an overloaded function, e.g. transfer which is defined both as transfer(address,uint256) (ERC20) and transfer(address,uint256,bytes) (ERC223), then Solidity gives a warning:
// TypeError: Member "transfer" not unique after argument-dependent lookup in contract
this.transfer.selector
It would be great if it were possible to look up functions based on parameter types:
this.transfer(address,uint256).selector
Environment
Compiler version: 0.8.10
Target EVM version (as per compiler settings): default
Description
If trying to look up an overloaded function, e.g.
transfer
which is defined both astransfer(address,uint256)
(ERC20) andtransfer(address,uint256,bytes)
(ERC223), then Solidity gives a warning:It would be great if it were possible to look up functions based on parameter types:
Environment
Steps to Reproduce
As above
The text was updated successfully, but these errors were encountered: