diff options
author | Taras Tsugrii <ttsugrii@fb.com> | 2018-07-11 05:32:24 -0700 |
---|---|---|
committer | Copybara-Service <copybara-piper@google.com> | 2018-07-11 05:33:46 -0700 |
commit | feb8050e553712f4d689d9e84e624abc0f4c2fa8 (patch) | |
tree | 0e2119c13cbf4d82c957222d07fd92ffcbd5929f /site/_layouts | |
parent | a3320b4ba0628af8fa7ee2ba2cf40d72efbbc6f7 (diff) |
[Skylint] Fix a crash on analyzing augmented assignment to IndexExpression.
Fixes #5534.
Skylint was operating under assumption that all lvalues have a single
bound identifier, which is not true for `IndexExpression`s like
```
d["foo"] += "bar"
```
As a result, Skylint would crash. This change makes it handle cases without
bound identifiers gracefully.
Ideally `IndexExpression` assigments should be analyzed too, but it's a more
involved change.
Closes #5535.
PiperOrigin-RevId: 204109060
Diffstat (limited to 'site/_layouts')
0 files changed, 0 insertions, 0 deletions