summaryrefslogtreecommitdiff
path: root/src/if_py_both.h
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-04-05 21:38:23 +0200
committerBram Moolenaar <Bram@vim.org>2020-04-05 21:38:23 +0200
commit4c68375057c25e99656bc996d3fa5c6b0b6a7e6a (patch)
tree2be5b8f84ba889bab8caf91898092eaaba96216c /src/if_py_both.h
parentf87a0400fd81862c33d6ad2291a56e178db7dddd (diff)
downloadvim-git-4c68375057c25e99656bc996d3fa5c6b0b6a7e6a.tar.gz
patch 8.2.0517: Vim9: cannot separate "func" and "func(): void"v8.2.0517
Problem: Vim9: cannot separate "func" and "func(): void". Solution: Use VAR_ANY for "any" and VAR_UNKNOWN for "no type".
Diffstat (limited to 'src/if_py_both.h')
-rw-r--r--src/if_py_both.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/if_py_both.h b/src/if_py_both.h
index 0d70de230..77ec4a993 100644
--- a/src/if_py_both.h
+++ b/src/if_py_both.h
@@ -6390,6 +6390,7 @@ ConvertToPyObject(typval_T *tv)
(char*) tv->vval.v_blob->bv_ga.ga_data,
(Py_ssize_t) tv->vval.v_blob->bv_ga.ga_len);
case VAR_UNKNOWN:
+ case VAR_ANY:
case VAR_VOID:
case VAR_CHANNEL:
case VAR_JOB: