aboutsummaryrefslogblamecommitdiffstats
path: root/test/libsolidity/syntaxTests/nameAndTypeResolution/544_warn_about_address_members_on_contract_call.sol
blob: 16da757897e166ce3ac0f51a9a654e3901e97ea2 (plain) (tree)
1
2
3
4
5
6
7





                              
                                                                                                                                                                    
contract C {
    function f() view public {
        this.call;
    }
}
// ----
// TypeError: (52-61): Member "call" not found or not visible after argument-dependent lookup in contract C. Use "address(this).call" to access this address member.