1
0
forked from VimPlug/jedi

Also return the issues when retruning the executed params

This commit is contained in:
Dave Halter
2018-09-21 00:20:24 +02:00
parent 5fda4a2f8b
commit 43ffcb0802
8 changed files with 74 additions and 47 deletions
+2 -1
View File
@@ -250,7 +250,8 @@ def _infer_type_vars_for_execution(execution_context, annotation_dict):
context = execution_context.function_context.get_default_param_context()
annotation_variable_results = {}
for executed_param in execution_context.get_executed_params():
executed_params, _ = execution_context.get_executed_params_and_issues()
for executed_param in executed_params:
try:
annotation_node = annotation_dict[executed_param.string_name]
except KeyError: