Summary: | Using f-strings gives "undefined variable" warning in line 1 | ||
---|---|---|---|
Product: | [Developer tools] kdev-python | Reporter: | Sven Brauch <mail> |
Component: | Language support | Assignee: | Sven Brauch <mail> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | |
Priority: | NOR | ||
Version: | 5.0.80 | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
Sven Brauch
2017-01-09 13:10:46 UTC
Yes, child nodes of FormattedValue/JoinedString often (but not always?) have totally bogus ranges starting on line 0 or even -1. That caused any variables used to not be found, with all such errors appearing at the start of the file. (also crashes for visitors that assumed context ranges to be sane). Disabling the visitors stopped this, pending a real fix. |