patch 8.2.1109: still crashing when using s:variable
Problem: Still crashing when using s:variable.
Solution: Remove assignment. (Ken Takata)
diff --git a/src/version.c b/src/version.c
index 2691996..128fe6c 100644
--- a/src/version.c
+++ b/src/version.c
@@ -755,6 +755,8 @@
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 1109,
+/**/
1108,
/**/
1107,
diff --git a/src/vim9compile.c b/src/vim9compile.c
index fdb422b..b3ed77d 100644
--- a/src/vim9compile.c
+++ b/src/vim9compile.c
@@ -2336,7 +2336,7 @@
imported_T *
find_imported(char_u *name, size_t len, cctx_T *cctx)
{
- scriptitem_T *si = SCRIPT_ITEM(current_sctx.sc_sid);
+ scriptitem_T *si;
int idx;
if (current_sctx.sc_sid <= 0)