aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/syntaxTests/nameAndTypeResolution/258_using_for_mismatch.sol
blob: 84e42072ae070d7ba3ca38a451137ecc523c7dab (plain) (blame)
1
2
3
4
5
6
7
8
9
library D { function double(bytes32 self) public returns (uint) { return 2; } }
contract C {
    using D for uint;
    function f(uint a) public returns (uint) {
        return a.double();
    }
}
// ----
// TypeError: (177-185): Member "double" not found or not visible after argument-dependent lookup in uint256