Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix #509. Fix read/write analysis of the left-hand side of an augmented assignment #524

Merged
merged 1 commit into from Nov 21, 2022

Conversation

lieryan
Copy link
Member

@lieryan lieryan commented Nov 21, 2022

Description

_AugAssign now recursively walk the left hand expression (i.e. node.target) for it to handle these more complex expressions.

Fixes #509

Checklist (delete if not relevant):

  • I have added tests that prove my fix is effective or that my feature works
  • I have updated CHANGELOG.md

@lieryan lieryan self-assigned this Nov 21, 2022
@lieryan lieryan added this to the 1.5.0 milestone Nov 21, 2022
@lieryan lieryan merged commit 10199b0 into master Nov 21, 2022
@lieryan lieryan deleted the lieryan-509-fix-aug-assignment branch November 21, 2022 08:43
@lieryan lieryan changed the title Fix read/write analysis of the left-hand side of an augmented assignment Fix #509. Fix read/write analysis of the left-hand side of an augmented assignment Nov 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Extracted method fails when it contains multi subscriptables
1 participant