Mercurial > vim
comparison src/proto/vim9compile.pro @ 24388:72f3e40f046c v8.2.2734
patch 8.2.2734: Vim9: cannot use legacy script-local var from :def function
Commit: https://github.com/vim/vim/commit/15e5e53ef29a457126f7c699931ab5842431f2ea
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Apr 7 21:21:13 2021 +0200
patch 8.2.2734: Vim9: cannot use legacy script-local var from :def function
Problem: Vim9: cannot use legacy script-local var from :def function.
Solution: Do not insist on using "s:" prefix. (closes https://github.com/vim/vim/issues/8076)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 07 Apr 2021 21:30:04 +0200 |
parents | c20e763bc73c |
children | e61a2085c89b |
comparison
equal
deleted
inserted
replaced
24387:5c98ea5f5d6e | 24388:72f3e40f046c |
---|---|
1 /* vim9compile.c */ | 1 /* vim9compile.c */ |
2 int script_var_exists(char_u *name, size_t len, int vim9script, cctx_T *cctx); | |
3 int check_defined(char_u *p, size_t len, cctx_T *cctx, int is_arg); | 2 int check_defined(char_u *p, size_t len, cctx_T *cctx, int is_arg); |
4 int check_compare_types(exprtype_T type, typval_T *tv1, typval_T *tv2); | 3 int check_compare_types(exprtype_T type, typval_T *tv1, typval_T *tv2); |
5 int use_typecheck(type_T *actual, type_T *expected); | 4 int use_typecheck(type_T *actual, type_T *expected); |
6 int need_type(type_T *actual, type_T *expected, int offset, int arg_idx, cctx_T *cctx, int silent, int actual_is_const); | 5 int need_type(type_T *actual, type_T *expected, int offset, int arg_idx, cctx_T *cctx, int silent, int actual_is_const); |
7 int func_needs_compiling(ufunc_T *ufunc, int profile); | 6 int func_needs_compiling(ufunc_T *ufunc, int profile); |