diff 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
line wrap: on
line diff
--- a/src/proto/vim9compile.pro
+++ b/src/proto/vim9compile.pro
@@ -1,5 +1,4 @@
 /* vim9compile.c */
-int script_var_exists(char_u *name, size_t len, int vim9script, cctx_T *cctx);
 int check_defined(char_u *p, size_t len, cctx_T *cctx, int is_arg);
 int check_compare_types(exprtype_T type, typval_T *tv1, typval_T *tv2);
 int use_typecheck(type_T *actual, type_T *expected);