diff options
author | Bram Moolenaar <Bram@vim.org> | 2020-09-09 14:55:31 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2020-09-09 14:55:31 +0200 |
commit | 29a86ffee794bc1a0efde215c203cf9529047252 (patch) | |
tree | e718319396ca7a66a071c72fb02af88db2426e3f /src/proto | |
parent | f842cd9e285afb9d86c6f9bff400e5e576f873c0 (diff) | |
download | vim-git-29a86ffee794bc1a0efde215c203cf9529047252.tar.gz |
patch 8.2.1641: Vim9: cannot use 0 or 1 where a bool is expectedv8.2.1641
Problem: Vim9: cannot use 0 or 1 where a bool is expected.
Solution: Allow using 0 and 1 for a bool type. (closes #6903)
Diffstat (limited to 'src/proto')
-rw-r--r-- | src/proto/vim9type.pro | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/proto/vim9type.pro b/src/proto/vim9type.pro index 1ac372732..90f8791c3 100644 --- a/src/proto/vim9type.pro +++ b/src/proto/vim9type.pro @@ -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); |