diff options
author | Bram Moolenaar <Bram@vim.org> | 2020-08-12 21:34:49 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2020-08-12 21:34:49 +0200 |
commit | 418f1df54763b79600db1c91c880fbc1007b2e1f (patch) | |
tree | 5ffaf68d304881ef490608d00e4a1ed4df04ed4a /src/evalfunc.c | |
parent | fd77748df2ba7d5f38aab649cb630374620462d7 (diff) | |
download | vim-git-418f1df54763b79600db1c91c880fbc1007b2e1f.tar.gz |
patch 8.2.1435: Vim9: always converting to string for ".." leads to mistakesv8.2.1435
Problem: Vim9: always converting to string for ".." leads to mistakes.
Solution: Only automatically convert simple types.
Diffstat (limited to 'src/evalfunc.c')
-rw-r--r-- | src/evalfunc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/evalfunc.c b/src/evalfunc.c index bbc3404e5..d95a1db82 100644 --- a/src/evalfunc.c +++ b/src/evalfunc.c @@ -1046,7 +1046,7 @@ static funcentry_T global_functions[] = {"test_settime", 1, 1, FEARG_1, ret_void, f_test_settime}, {"test_srand_seed", 0, 1, FEARG_1, ret_void, f_test_srand_seed}, {"test_unknown", 0, 0, 0, ret_any, f_test_unknown}, - {"test_void", 0, 0, 0, ret_any, f_test_void}, + {"test_void", 0, 0, 0, ret_void, f_test_void}, {"timer_info", 0, 1, FEARG_1, ret_list_dict_any, TIMER_FUNC(f_timer_info)}, {"timer_pause", 2, 2, FEARG_1, ret_void, TIMER_FUNC(f_timer_pause)}, {"timer_start", 2, 3, FEARG_1, ret_number, TIMER_FUNC(f_timer_start)}, |