29.SWC-129_Typographical Error
2023-07-13 15:56:04 # 09.SWC

SWC-129_Typographical Error

A typographical error can occur for example when the intent of a defined operation is to sum a number to a variable (+=) but it has accidentally been defined in a wrong way (=+), introducing a typo which happens to be a valid operator. Instead of calculating the sum it initializes the variable again.

The unary + operator is deprecated in new solidity compiler versions.

Prev
2023-07-13 15:56:04 # 09.SWC
Next