Test case
pragma solidity ^0.4.20;
contract Selector {
function transfer(address, uint) external;
function calculateSelector() public pure returns (bytes4) {
return this.transfer(address, uint).selector;
}
}
Error
Member "transfer" not unique after argument-dependent lookup in contract C.
Expected
This behavior is understandable (transfer also has a special meaning). But this behavior is currently undocumented.