mirror of
https://github.com/vim/vim.git
synced 2025-11-16 23:24:03 -05:00
patch 8.2.1300: Vim9: optional argument type not parsed properly
Problem: Vim9: optional argument type not parsed properly. Solution: Skip over the "?". (issue #6507)
This commit is contained in:
@@ -6,7 +6,7 @@ type_T *typval2type_vimvar(typval_T *tv, garray_T *type_gap);
|
||||
int check_typval_type(type_T *expected, typval_T *actual_tv);
|
||||
int check_type(type_T *expected, type_T *actual, int give_msg);
|
||||
int check_compare_types(exptype_T type, typval_T *tv1, typval_T *tv2);
|
||||
char_u *skip_type(char_u *start);
|
||||
char_u *skip_type(char_u *start, int optional);
|
||||
type_T *parse_type(char_u **arg, garray_T *type_gap);
|
||||
char *vartype_name(vartype_T type);
|
||||
char *type_name(type_T *type, char **tofree);
|
||||
|
||||
Reference in New Issue
Block a user