1
0
forked from aniani/vim

patch 8.2.1641: Vim9: cannot use 0 or 1 where a bool is expected

Problem:    Vim9: cannot use 0 or 1 where a bool is expected.
Solution:   Allow using 0 and 1 for a bool type. (closes #6903)
This commit is contained in:
Bram Moolenaar
2020-09-09 14:55:31 +02:00
parent f842cd9e28
commit 29a86ffee7
6 changed files with 27 additions and 1 deletions

View File

@@ -1,4 +1,5 @@
/* vim9type.c */
type_T *alloc_type(garray_T *type_gap);
void clear_type_list(garray_T *gap);
type_T *get_list_type(type_T *member_type, garray_T *type_gap);
type_T *get_dict_type(type_T *member_type, garray_T *type_gap);