mirror of
https://github.com/neovim/neovim.git
synced 2025-09-06 19:38:20 +00:00
vim-patch:8.0.0287 (#7590)
Problem: Cannot access the arguments of the current function in debug mode.
(Luc Hermitte)
Solution: use get_funccal(). (Lemonboy, closes vim/vim#1432, closes vim/vim#1352)
c7d9eacefa
This commit is contained in:

committed by
Justin M. Keyes

parent
df10714991
commit
7d24a95b45
@@ -18732,7 +18732,7 @@ static dictitem_T *find_var_in_ht(hashtab_T *const ht,
|
||||
case 'l': return (current_funccal == NULL
|
||||
? NULL : (dictitem_T *)¤t_funccal->l_vars_var);
|
||||
case 'a': return (current_funccal == NULL
|
||||
? NULL : (dictitem_T *)¤t_funccal->l_avars_var);
|
||||
? NULL : (dictitem_T *)&get_funccal()->l_avars_var);
|
||||
}
|
||||
return NULL;
|
||||
}
|
||||
|
@@ -817,7 +817,7 @@ static const int included_patches[] = {
|
||||
290,
|
||||
// 289,
|
||||
// 288 NA
|
||||
// 287,
|
||||
287,
|
||||
// 286,
|
||||
// 285 NA
|
||||
// 284 NA
|
||||
|
Reference in New Issue
Block a user