diff src/proto/vim9script.pro @ 25186:0a3b1c66d3f2 v8.2.3129

patch 8.2.3129: Vim9: imported uninitialized list does not get type checked Commit: https://github.com/vim/vim/commit/c967d57aa9a6bede0f50c6986dcddc1dc035a354 Author: Bram Moolenaar <Bram@vim.org> Date: Thu Jul 8 21:38:50 2021 +0200 patch 8.2.3129: Vim9: imported uninitialized list does not get type checked Problem: Vim9: imported uninitialized list does not get type checked. Solution: Get type from imported variable.
author Bram Moolenaar <Bram@vim.org>
date Thu, 08 Jul 2021 21:45:04 +0200
parents e495f40e4b07
children 0082503ff2ff
line wrap: on
line diff
--- a/src/proto/vim9script.pro
+++ b/src/proto/vim9script.pro
@@ -16,7 +16,7 @@ char_u *vim9_declare_scriptvar(exarg_T *
 void update_vim9_script_var(int create, dictitem_T *di, int flags, typval_T *tv, type_T **type, int do_member);
 void hide_script_var(scriptitem_T *si, int idx, int func_defined);
 void free_all_script_vars(scriptitem_T *si);
-svar_T *find_typval_in_script(typval_T *dest, int give_error);
+svar_T *find_typval_in_script(typval_T *dest);
 int check_script_var_type(typval_T *dest, typval_T *value, char_u *name, where_T where);
 int check_reserved_name(char_u *name);
 /* vim: set ft=c : */