forked from VimPlug/jedi
class decorators are just being ignored, until I know of a use case, where Jedi returns the wrong results
This commit is contained in:
@@ -141,3 +141,12 @@ def follow_statement(stmt):
|
||||
# here we had problems with the else clause, because the parent was not right.
|
||||
#? int()
|
||||
follow_statement(1)
|
||||
|
||||
# -----------------
|
||||
# class decorators
|
||||
# -----------------
|
||||
|
||||
# class decorators should just be ignored
|
||||
@should_ignore
|
||||
class A(): pass
|
||||
|
||||
|
||||
Reference in New Issue
Block a user