]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 9.2.0307: more mismatches between return types and documentation v9.2.0307
authorHirohito Higashi <h.east.727@gmail.com>
Mon, 6 Apr 2026 12:49:53 +0000 (12:49 +0000)
committerChristian Brabandt <cb@256bit.org>
Mon, 6 Apr 2026 12:49:53 +0000 (12:49 +0000)
commit002fddecdee98400895d4cf2c7eff36f2e0f9535
tree497f21558fa7c669694efbfd12b8a96c59e0fbea
parent78954f86c2027c766d9e2b5f7904b5fb4041d250
patch 9.2.0307: more mismatches between return types and documentation

Problem:  more mismatches between return types and documentation
Solution: Update documentation, fix return type for remote_foreground()
          and test_mswin_event() (Hirohito Higashi)

Doc summary table fixes:
- ch_info: String -> Dict
- spellbadword: String -> List
- undotree: List -> Dict
- test_getvalue: any -> Number
- instanceof, popup_filter_menu, popup_filter_yesno: Number -> Bool
- remote_foreground: Number -> none
- test_mswin_event: bool -> Bool

evalfunc.c fixes:
- remote_foreground: ret_string -> ret_void
- test_mswin_event: ret_number -> ret_bool

Detail "Return type:" fixes:
- instanceof: Number -> vim9-boolean
- remote_foreground: Number -> void
- popup_filter_menu, popup_filter_yesno: Number -> vim9-boolean

related: #19922
closes:  #19923

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Signed-off-by: Hirohito Higashi <h.east.727@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
runtime/doc/builtin.txt
runtime/doc/popup.txt
src/evalfunc.c
src/version.c