diff options
Diffstat (limited to 'src/nvim/eval.c')
-rw-r--r-- | src/nvim/eval.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nvim/eval.c b/src/nvim/eval.c index 57c1c8e210..fc0b2ee23d 100644 --- a/src/nvim/eval.c +++ b/src/nvim/eval.c @@ -18340,6 +18340,7 @@ handle_subscript ( // Turn "dict.Func" into a partial for "Func" with "dict". if (pt != NULL) { + pt->pt_refcount = 1; pt->pt_dict = selfdict; selfdict = NULL; pt->pt_name = rettv->vval.v_string; |