As expected, some __s needed to be NotDedented. I just changed the minimal amount here, around binary operators. (Plausibly more should change, but not for this issue.)
I added a special rule for matching properly indented binary-operator chains like this:
| T1
| T2
All this still wasn't enough, because the indentation level was already 2 in this case. I needed to add an indentation level of +1 for these items so that NotDedented doesn't allow for grabbing the second item.
Fixes #1355
__
s needed to beNotDedented
. I just changed the minimal amount here, around binary operators. (Plausibly more should change, but not for this issue.)NotDedented
doesn't allow for grabbing the second item.This feels related to https://github.com/DanielXMoore/Civet/issues/1121#issuecomment-2292132835 as well. (I could use feedback on those ideas too, though doesn't need to happen before this PR lands.)