Skip to content
This repository has been archived by the owner on Dec 14, 2021. It is now read-only.

No symbol found for field of field #25

Open
mlangkabel opened this issue Apr 2, 2019 · 3 comments
Open

No symbol found for field of field #25

mlangkabel opened this issue Apr 2, 2019 · 3 comments
Labels
bug Something isn't working jedi issue

Comments

@mlangkabel
Copy link
Contributor

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

@mlangkabel
Copy link
Contributor Author

Reported this issue on the Jedi tracker: davidhalter/jedi#1275

@mlangkabel mlangkabel added bug Something isn't working jedi issue labels Apr 9, 2019
@mlangkabel
Copy link
Contributor Author

Jedi issue has been reported as "fixed". Fix has not yet been released.

@mlangkabel
Copy link
Contributor Author

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working jedi issue
Projects
None yet
Development

No branches or pull requests

1 participant