mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-16 22:51:17 +07:00
Only resolve inside f-strings injectstion should be flow-sensitive. Other kinds of automoatic injections of Python language, like injections inside type comments and forward references inside quoted type hints, do not depend on CFG. In particular, it should be possible to resolve references in them to symbols defined later in the file. Previous fix for the PY-20783 inadvertently broke this behavior for type hints.
3 lines
42 B
Python
3 lines
42 B
Python
def f(param):
|
|
f"{param}"
|
|
<ref> |