Mercurial > vim
diff src/proto/vim9script.pro @ 20919:96bf2b304932 v8.2.1011
patch 8.2.1011: Vim9: some code not tested
Commit: https://github.com/vim/vim/commit/c785b9a7f471f12825a1d6d2041c144c74242b7c
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Jun 19 18:34:15 2020 +0200
patch 8.2.1011: Vim9: some code not tested
Problem: Vim9: some code not tested.
Solution: Add a few more test cases. Reorder checks for clearer error.
Remove unreachable code.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 19 Jun 2020 18:45:03 +0200 |
parents | bacc2ab11810 |
children | 465d6e40e79c |
line wrap: on
line diff
--- a/src/proto/vim9script.pro +++ b/src/proto/vim9script.pro @@ -7,5 +7,5 @@ void ex_import(exarg_T *eap); int find_exported(int sid, char_u **argp, int *name_len, ufunc_T **ufunc, type_T **type); char_u *handle_import(char_u *arg_start, garray_T *gap, int import_sid, void *cctx); char_u *vim9_declare_scriptvar(exarg_T *eap, char_u *arg); -void check_script_var_type(typval_T *dest, typval_T *value, char_u *name); +int check_script_var_type(typval_T *dest, typval_T *value, char_u *name); /* vim: set ft=c : */