0x00000002 / rootcore

Apache License 2.0
0 stars 1 forks source link

function shadows an existing declaration #5

Open gabriel-canaan opened 6 years ago

gabriel-canaan commented 6 years ago

rootcore/blob/master/contracts/interfaces/IERC20Token.sol Line 8-11 function name() public constant returns (string name) { name; } function symbol() public constant returns (string symbol) { symbol; } function decimals() public constant returns (uint8 decimals) { decimals; } function totalSupply() public constant returns (uint256 totalSupply) { totalSupply; }

rootcore/blob/master/contracts/interfaces/IOwned.sol Line 8 function owner() public constant returns (address owner) { owner; }

gabriel-canaan commented 6 years ago

Function name and arguments are the same which can cause confusion