Closed mlangkabel closed 5 years ago
Consider the following code snippet:
foo = 9 def foo(baz=foo): pass
Here the indexer fails to resolve the default argument for the parameter baz to be a usage of the global variable foo which is defined in the first line of the snippet.
baz
foo
Reported this issue on the Jedi tracker: https://github.com/davidhalter/jedi/issues/1310
Fixed by merge of pull request #47.
Consider the following code snippet:
Here the indexer fails to resolve the default argument for the parameter
baz
to be a usage of the global variablefoo
which is defined in the first line of the snippet.