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:
KunMing Xie
2017-11-20 09:02:15 +08:00
committed by Justin M. Keyes
parent df10714991
commit 7d24a95b45
2 changed files with 2 additions and 2 deletions

View File

@@ -18732,7 +18732,7 @@ static dictitem_T *find_var_in_ht(hashtab_T *const ht,
case 'l': return (current_funccal == NULL
? NULL : (dictitem_T *)&current_funccal->l_vars_var);
case 'a': return (current_funccal == NULL
? NULL : (dictitem_T *)&current_funccal->l_avars_var);
? NULL : (dictitem_T *)&get_funccal()->l_avars_var);
}
return NULL;
}

View File

@@ -817,7 +817,7 @@ static const int included_patches[] = {
290,
// 289,
// 288 NA
// 287,
287,
// 286,
// 285 NA
// 284 NA