solang-parser 0.2.1

Solang Solidity Parser
Documentation
1
2
3
4
5
6
7
8
9
10
11
contract C {
    function f() public payable {
		abi.encode(this.f{value: 2});
		abi.encode(this.f{gas: 2});
		abi.encode(this.f{value: 2, gas: 1});
    }
}
// ----
// TypeError 2056: (60-76): This type cannot be encoded.
// TypeError 2056: (92-106): This type cannot be encoded.
// TypeError 2056: (122-146): This type cannot be encoded.