forked from aniani/vim
patch 8.2.1407: Vim9: type of list and dict only depends on first item
Problem: Vim9: type of list and dict only depends on first item. Solution: Use all items to decide about the type.
This commit is contained in:
@@ -14,6 +14,7 @@ int check_type(type_T *expected, type_T *actual, int give_msg);
|
||||
char_u *skip_type(char_u *start, int optional);
|
||||
type_T *parse_type(char_u **arg, garray_T *type_gap);
|
||||
void common_type(type_T *type1, type_T *type2, type_T **dest, garray_T *type_gap);
|
||||
type_T *get_member_type_from_stack(type_T **stack_top, int count, int skip, garray_T *type_gap);
|
||||
char *vartype_name(vartype_T type);
|
||||
char *type_name(type_T *type, char **tofree);
|
||||
/* vim: set ft=c : */
|
||||
|
Reference in New Issue
Block a user