Mercurial > vim
diff src/eval.c @ 19047:a3fce2763e83 v8.2.0084
patch 8.2.0084: complete item "user_data" can only be a string
Commit: https://github.com/vim/vim/commit/0892832bb6c7e322fcae8560eaad5a8140ee4a06
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Jan 4 14:32:48 2020 +0100
patch 8.2.0084: complete item "user_data" can only be a string
Problem: Complete item "user_data" can only be a string.
Solution: Accept any type of variable. (closes https://github.com/vim/vim/issues/5412)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 04 Jan 2020 14:45:04 +0100 |
parents | d9ea4f0bfd34 |
children | 3b1f83fdaabc |
line wrap: on
line diff
--- 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; /*