Zellic / solidity-parser

Solp is a Python library used for reading, parsing and analysis of Solidity source projects and contracts without a dependency on the solc compiler.
https://solp.zellic.io
GNU Affero General Public License v3.0
51 stars 2 forks source link

operators/userDefined/all_possible_user_defined_value_types_with_operators.sol #26

Closed t81lal closed 4 months ago

t81lal commented 6 months ago

Parser: 0.8.22

Line 616/testBytesUnary() bitwise NOT on byte arrays is not supported in solnodes2.UnaryOp: this needs to be implemented. Corresponding get_expr_type/refine_expr in AST2Builder need to be checked too. See: https://docs.soliditylang.org/en/latest/types.html#fixed-size-byte-arrays

Remediation plan: implement