1
0
forked from VimPlug/jedi

The evaluator recursion limitations are now reset in static analysis for each node, otherwise it's incredibly unprecise.

This commit is contained in:
Dave Halter
2015-12-13 17:18:19 +01:00
parent 106f6f7f5a
commit 7b8d4e86ac
6 changed files with 17 additions and 11 deletions

View File

@@ -372,7 +372,6 @@ def get_params(evaluator, func, var_args):
# print('\t\tnonkw', non_kw_param.parent.var_args.argument_node, )
if origin_args not in [f.parent.parent for f in first_values]:
continue
print(v)
analysis.add(evaluator, 'type-error-too-many-arguments',
v, message=m)
return param_names