forked from VimPlug/jedi
Make sure we use the right context in case of goto with decorators, fixes #1427
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user