1
0
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:
Dave Halter
2014-05-28 02:29:56 +02:00
parent b7aaec50e3
commit 23edfd27ad
2 changed files with 27 additions and 21 deletions

View File

@@ -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)