Mercurial > vim
comparison src/evalfunc.c @ 21771:fcf978444298 v8.2.1435
patch 8.2.1435: Vim9: always converting to string for ".." leads to mistakes
Commit: https://github.com/vim/vim/commit/418f1df54763b79600db1c91c880fbc1007b2e1f
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Aug 12 21:34:49 2020 +0200
patch 8.2.1435: Vim9: always converting to string for ".." leads to mistakes
Problem: Vim9: always converting to string for ".." leads to mistakes.
Solution: Only automatically convert simple types.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 12 Aug 2020 21:45:03 +0200 |
parents | 35921b7fc07a |
children | 51d4e0bc2eb7 |
comparison
equal
deleted
inserted
replaced
21770:48e91c319616 | 21771:fcf978444298 |
---|---|
1044 }, | 1044 }, |
1045 {"test_setmouse", 2, 2, 0, ret_void, f_test_setmouse}, | 1045 {"test_setmouse", 2, 2, 0, ret_void, f_test_setmouse}, |
1046 {"test_settime", 1, 1, FEARG_1, ret_void, f_test_settime}, | 1046 {"test_settime", 1, 1, FEARG_1, ret_void, f_test_settime}, |
1047 {"test_srand_seed", 0, 1, FEARG_1, ret_void, f_test_srand_seed}, | 1047 {"test_srand_seed", 0, 1, FEARG_1, ret_void, f_test_srand_seed}, |
1048 {"test_unknown", 0, 0, 0, ret_any, f_test_unknown}, | 1048 {"test_unknown", 0, 0, 0, ret_any, f_test_unknown}, |
1049 {"test_void", 0, 0, 0, ret_any, f_test_void}, | 1049 {"test_void", 0, 0, 0, ret_void, f_test_void}, |
1050 {"timer_info", 0, 1, FEARG_1, ret_list_dict_any, TIMER_FUNC(f_timer_info)}, | 1050 {"timer_info", 0, 1, FEARG_1, ret_list_dict_any, TIMER_FUNC(f_timer_info)}, |
1051 {"timer_pause", 2, 2, FEARG_1, ret_void, TIMER_FUNC(f_timer_pause)}, | 1051 {"timer_pause", 2, 2, FEARG_1, ret_void, TIMER_FUNC(f_timer_pause)}, |
1052 {"timer_start", 2, 3, FEARG_1, ret_number, TIMER_FUNC(f_timer_start)}, | 1052 {"timer_start", 2, 3, FEARG_1, ret_number, TIMER_FUNC(f_timer_start)}, |
1053 {"timer_stop", 1, 1, FEARG_1, ret_void, TIMER_FUNC(f_timer_stop)}, | 1053 {"timer_stop", 1, 1, FEARG_1, ret_void, TIMER_FUNC(f_timer_stop)}, |
1054 {"timer_stopall", 0, 0, 0, ret_void, TIMER_FUNC(f_timer_stopall)}, | 1054 {"timer_stopall", 0, 0, 0, ret_void, TIMER_FUNC(f_timer_stopall)}, |