UnaryOperation: -variable and +variable doesn't make variable an lvalue (#2027)

pull/2078/head
SheldonHolmgren 1 year ago committed by GitHub
parent e0098907c9
commit d86bd4109d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      slither/core/expressions/unary_operation.py

@ -106,8 +106,6 @@ class UnaryOperation(Expression):
UnaryOperationType.MINUSMINUS_PRE,
UnaryOperationType.PLUSPLUS_POST,
UnaryOperationType.MINUSMINUS_POST,
UnaryOperationType.PLUS_PRE,
UnaryOperationType.MINUS_PRE,
]:
expression.set_lvalue()

Loading…
Cancel
Save