diff options
author | Bram Moolenaar <Bram@vim.org> | 2020-01-04 14:32:48 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2020-01-04 14:32:48 +0100 |
commit | 0892832bb6c7e322fcae8560eaad5a8140ee4a06 (patch) | |
tree | d45503cc14259ea6c44cb63f26b69a6bfb4bfc3c /src/eval.c | |
parent | 5cb0b93d52fa5c12ca50a18509947ee6459bb7a8 (diff) |
patch 8.2.0084: complete item "user_data" can only be a stringv8.2.0084
Problem: Complete item "user_data" can only be a string.
Solution: Accept any type of variable. (closes #5412)
Diffstat (limited to 'src/eval.c')
-rw-r--r-- | src/eval.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/eval.c b/src/eval.c index 04abbabae5..2a2d9d463e 100644 --- a/src/eval.c +++ b/src/eval.c @@ -2656,7 +2656,7 @@ eval7( case '#': if ((*arg)[1] == '{') { ++*arg; - ret = dict_get_tv(arg, rettv, evaluate, TRUE); + ret = eval_dict(arg, rettv, evaluate, TRUE); } else ret = NOTDONE; @@ -2668,7 +2668,7 @@ eval7( */ case '{': ret = get_lambda_tv(arg, rettv, evaluate); if (ret == NOTDONE) - ret = dict_get_tv(arg, rettv, evaluate, FALSE); + ret = eval_dict(arg, rettv, evaluate, FALSE); break; /* |