commit | b54abeeafb074248597878a874fed9a66b114c06 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Wed Jun 02 11:49:23 2021 +0200 |
committer | Bram Moolenaar <Bram@vim.org> | Wed Jun 02 11:49:23 2021 +0200 |
tree | 23767345ef1431fb9291acd6ad65ae52dabcc789 | |
parent | 6f1d2aa437744a7cb0206fdaa543a788c5a56c79 [diff] [blame] |
patch 8.2.2921: E704 for script local variable is not backwards compatible Problem: E704 for script local variable is not backwards compatible. (Yasuhiro Matsumoto) Solution: Only give the error in Vim9 script. Also check for function-local variable.
diff --git a/src/version.c b/src/version.c index 1c01adb..321047f 100644 --- a/src/version.c +++ b/src/version.c
@@ -751,6 +751,8 @@ static int included_patches[] = { /* Add new patch number below this line */ /**/ + 2921, +/**/ 2920, /**/ 2919,