Mercurial > vim
comparison src/proto/vim9script.pro @ 20840:0600ab7b9f09 v8.2.0972
patch 8.2.0972: Vim9 script variable declarations need a type
Commit: https://github.com/vim/vim/commit/c82a5b5da5eab15bc35115545b639fb590272ad7
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Jun 13 18:09:19 2020 +0200
patch 8.2.0972: Vim9 script variable declarations need a type
Problem: Vim9 script variable declarations need a type.
Solution: Make "let var: type" declare a script-local variable.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 13 Jun 2020 18:15:03 +0200 |
parents | 2fee087c94cb |
children | bacc2ab11810 |
comparison
equal
deleted
inserted
replaced
20839:7c1e92b152ed | 20840:0600ab7b9f09 |
---|---|
4 void ex_export(exarg_T *eap); | 4 void ex_export(exarg_T *eap); |
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 /* vim: set ft=c : */ | 10 /* vim: set ft=c : */ |