Closed AlberErre closed 6 years ago
This actually compiles currently! https://twitter.com/gakonst/status/1041658852037541888
More context: https://www.youtube.com/watch?v=gk-Yu7BLa6I
contracts/Libraries/ObjectsLib.sol:54:9: DeclarationError: Identifier already declared.
uint256 objectBalance = getValueInBin(_binBalances, _index);
^-------------------^
contracts/Libraries/ObjectsLib.sol:49:9: The previous declaration is here:
uint256 objectBalance = getValueInBin(_binBalances, _index);
^-------------------^
Compilation failed. See above.
This is a duplicate definition if you try to define it again. Pls test before making PRs thanks:)
In case of "Operations.SUB", objectBalance type is not defined