mirror of
https://github.com/vim/vim.git
synced 2025-09-24 03:44:06 -04:00
patch 8.2.2310: Vim9: winsaveview() return type is too generic
Problem: Vim9: winsaveview() return type is too generic. Solution: use dict<number> instead of dict<any>. (closes #7626)
This commit is contained in:
@@ -1753,7 +1753,7 @@ static funcentry_T global_functions[] =
|
||||
{"winrestview", 1, 1, FEARG_1, NULL,
|
||||
ret_void, f_winrestview},
|
||||
{"winsaveview", 0, 0, 0, NULL,
|
||||
ret_dict_any, f_winsaveview},
|
||||
ret_dict_number, f_winsaveview},
|
||||
{"winwidth", 1, 1, FEARG_1, NULL,
|
||||
ret_number, f_winwidth},
|
||||
{"wordcount", 0, 0, 0, NULL,
|
||||
|
Reference in New Issue
Block a user