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 pure {
    abi.decode("abc", uint);
    abi.decode("abc", this);
    abi.decode("abc", f());
  }
}
// ----
// TypeError 6444: (64-68): The second argument to "abi.decode" has to be a tuple of types.
// TypeError 6444: (93-97): The second argument to "abi.decode" has to be a tuple of types.
// TypeError 6444: (122-125): The second argument to "abi.decode" has to be a tuple of types.