mirror of
https://github.com/davidhalter/jedi.git
synced 2026-10-12 13:50:13 +08:00
Make sure goto_assignments is no longer used on Definition
This commit is contained in:
1 parent
1f4be4bc51
commit
39605bfa08
6 files changed
+24
-24
No files matched your search
@@ -74,7 +74,7 @@ def test_infer_and_goto(Script, code, full_name, has_stub, has_python, way,
|
||||
follow_imports=True,
|
||||
)
|
||||
if type_ == 'goto':
|
||||
defs = [d for goto_def in goto_defs for d in goto_def.goto_assignments(**kwargs)]
|
||||
defs = [d for goto_def in goto_defs for d in goto_def.goto(**kwargs)]
|
||||
else:
|
||||
defs = [d for goto_def in goto_defs for d in goto_def.infer(**kwargs)]
|
||||
|
||||
|
||||
Reference in new issue
Block a user