Mercurial > vim
comparison 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 |
comparison
equal
deleted
inserted
replaced
20918:a253e5fc58d1 | 20919:96bf2b304932 |
---|---|
5 void free_imports(int sid); | 5 void free_imports(int sid); |
6 void ex_import(exarg_T *eap); | 6 void ex_import(exarg_T *eap); |
7 int find_exported(int sid, char_u **argp, int *name_len, ufunc_T **ufunc, type_T **type); | 7 int find_exported(int sid, char_u **argp, int *name_len, ufunc_T **ufunc, type_T **type); |
8 char_u *handle_import(char_u *arg_start, garray_T *gap, int import_sid, void *cctx); | 8 char_u *handle_import(char_u *arg_start, garray_T *gap, int import_sid, void *cctx); |
9 char_u *vim9_declare_scriptvar(exarg_T *eap, char_u *arg); | 9 char_u *vim9_declare_scriptvar(exarg_T *eap, char_u *arg); |
10 void check_script_var_type(typval_T *dest, typval_T *value, char_u *name); | 10 int check_script_var_type(typval_T *dest, typval_T *value, char_u *name); |
11 /* vim: set ft=c : */ | 11 /* vim: set ft=c : */ |