mirror of
https://github.com/vim/vim.git
synced 2025-09-24 03:44:06 -04:00
patch 8.2.0732: Vim9: storing value in dict messes up stack
Problem: Vim9: storing value in dict messes up stack. Solution: Correct item count of stack.
This commit is contained in:
@@ -1286,6 +1286,7 @@ call_def_function(
|
||||
}
|
||||
clear_tv(tv_idx);
|
||||
clear_tv(tv_list);
|
||||
ectx.ec_stack.ga_len -= 3;
|
||||
}
|
||||
break;
|
||||
|
||||
@@ -1319,6 +1320,7 @@ call_def_function(
|
||||
}
|
||||
clear_tv(tv_key);
|
||||
clear_tv(tv_dict);
|
||||
ectx.ec_stack.ga_len -= 3;
|
||||
}
|
||||
break;
|
||||
|
||||
|
Reference in New Issue
Block a user