Closed ericwb closed 1 month ago
Describe the bug An augmented_assignment node, like "a += 1" should be handled similar to assignment node.
To Reproduce
Expected behavior New visit_augmented_assignment() function to handle this. Might get complicated since the augmentation can be +, -, /, &, |, %, etc.
Version
precli 0.5.6 Copyright 2024 Secure Sauce LLC License BUSL-1.1: Business Source License 1.1 <https://spdx.org/licenses/BUSL-1.1.html> Python 3.12.4 (main, Jun 25 2024, 11:01:48) [Clang 15.0.0 (clang-1500.3.9.4)]
Additional context
Describe the bug An augmented_assignment node, like "a += 1" should be handled similar to assignment node.
To Reproduce
Expected behavior New visit_augmented_assignment() function to handle this. Might get complicated since the augmentation can be +, -, /, &, |, %, etc.
Version
Additional context