1
0
forked from VimPlug/jedi

Make sure we use the right context in case of goto with decorators, fixes #1427

This commit is contained in:
Dave Halter
2019-12-04 00:25:18 +01:00
parent b8a1f6da55
commit 4ba3dc69b3
3 changed files with 15 additions and 2 deletions

View File

@@ -330,3 +330,16 @@ import abc
#? ['abstractmethod']
@abc.abstractmethod
# -----------------
# Goto
# -----------------
x = 1
#! 5 []
@x.foo()
def f(): pass
#! 1 ['x = 1']
@x.foo()
def f(): pass