]> granicus.if.org Git - vim/commit
patch 8.1.0053: first argument of 'completefunc' has inconsistent type v8.1.0053
authorBram Moolenaar <Bram@vim.org>
Tue, 12 Jun 2018 20:05:14 +0000 (22:05 +0200)
committerBram Moolenaar <Bram@vim.org>
Tue, 12 Jun 2018 20:05:14 +0000 (22:05 +0200)
commitffa9684150f5441e84d492e7184ef73587bd6c6c
treee73aa4b5e0d37ef4d113fcb07f9e1efa5c01d133
parent83f4cbd973731872b633d6ba0caf850fb708d70c
patch 8.1.0053: first argument of 'completefunc' has inconsistent type

Problem:    The first argument given to 'completefunc' can be Number or
            String, depending on the value.
Solution:   Avoid guessing the type of an argument, use typval_T in the
            callers of call_vim_function(). (Ozaki Kiichi, closes #2993)
src/edit.c
src/eval.c
src/ex_getln.c
src/mbyte.c
src/normal.c
src/proto/eval.pro
src/testdir/test_ins_complete.vim
src/version.c