0
0
mirror of https://github.com/vim/vim.git synced 2025-09-25 03:54:15 -04:00

patch 9.0.1211: storing value in interface member does not always work

Problem:    Storing value in interface member does not always work.
Solution:   Convert the index on the interface to the index on the object.
This commit is contained in:
Bram Moolenaar
2023-01-16 20:47:57 +00:00
parent b391e1f805
commit f7d1c6e188
6 changed files with 44 additions and 8 deletions

View File

@@ -2521,6 +2521,10 @@ delete_instr(isn_T *isn)
class_unref(isn->isn_arg.classmember.cm_class);
break;
case ISN_STOREINDEX:
class_unref(isn->isn_arg.storeindex.si_class);
break;
case ISN_TRY:
vim_free(isn->isn_arg.tryref.try_ref);
break;
@@ -2622,7 +2626,6 @@ delete_instr(isn_T *isn)
case ISN_SLICE:
case ISN_SOURCE:
case ISN_STORE:
case ISN_STOREINDEX:
case ISN_STORENR:
case ISN_STOREOUTER:
case ISN_STORE_THIS: