https://bugs.kde.org/show_bug.cgi?id=373850

--- Comment #2 from Francis Herne <m...@flherne.uk> ---
The very frequent errors were my fault; I introduced a bug in
https://cgit.kde.org/kdev-python.git/commit/?id=94ab1ee

Fixed that in
https://commits.kde.org/kdev-python/9ba8942

There are remaining glitches if:
 - The bracket doesn't immediately follow what's being called:
   `foo (arg)` <- the space is highlighted. Uncommon.

 - The expression being called/subscripted has an incorrect range:
```
class A:
    def __call__(self): return 10
aaa = [A()]

bbb = aaa[000]()  # The middle '0' is highlighted.
```

I think these have always existed, but the second type is more common after
9ba8942 because we show uses after many more subscript expressions, which are
most commonly broken.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to