forked from VimPlug/jedi
detect origin of a call in case of missing params. This is important, because the user doesn't care about decorators in between.
This commit is contained in:
@@ -14,11 +14,10 @@ simple(1, 2)
|
||||
|
||||
|
||||
def nested(*args):
|
||||
# TODO: should not be here, but in line 17
|
||||
#! 13 type-error-too-few-arguments
|
||||
return simple(*args)
|
||||
|
||||
nested(1)
|
||||
#! 6 type-error-too-few-arguments
|
||||
nested()
|
||||
#! 10 type-error-too-many-arguments
|
||||
simple(1, 2, 3)
|
||||
|
||||
Reference in New Issue
Block a user