SourcetrailPythonIndexer
SourcetrailPythonIndexer copied to clipboard
No symbol found for field of field
Consider the following code snippet:
class Bar:
pass
class Foo:
def __init__(self):
self.bar = Bar()
self.bar.baz = 9
foo = Foo()
baz = foo.bar.baz
SourcetrailPythonIndexer is unable to resolve the symbol baz in the last line of the snippet.
Tested with version v0.db23.p2
Reported this issue on the Jedi tracker: https://github.com/davidhalter/jedi/issues/1275
Jedi issue has been reported as "fixed". Fix has not yet been released.
Updating to Jedi 0.14.1 by merge of pull request #47 improves the situation: foo.bar.baz is not recorded as global symbol anymore but it is still unsolved.