# HG changeset patch # User Christian Brabandt # Date 1485977404 -3600 # Node ID 8afee415119d7672493c8298ce8a536087924ddf # Parent d4f2107119506624c61b64bc7a5a1e66c08916da patch 8.0.0287: debug mode: cannot access function arguments commit https://github.com/vim/vim/commit/c7d9eacefa319e5ac3b3b2334fda5acb126b8716 Author: Bram Moolenaar Date: Wed Feb 1 20:26:51 2017 +0100 patch 8.0.0287: debug mode: cannot access function arguments Problem: Cannot access the arguments of the current function in debug mode. (Luc Hermitte) Solution: use get_funccal(). (Lemonboy, closes #1432, closes #1352) diff --git a/src/userfunc.c b/src/userfunc.c --- a/src/userfunc.c +++ b/src/userfunc.c @@ -3556,7 +3556,7 @@ get_funccal_args_var() { if (current_funccal == NULL) return NULL; - return ¤t_funccal->l_avars_var; + return &get_funccal()->l_avars_var; } /* diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -765,6 +765,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 287, +/**/ 286, /**/ 285,