]> granicus.if.org Git - vim/commit
patch 8.2.4302: Vim9: return type of getline() is too strict v8.2.4302
authorBram Moolenaar <Bram@vim.org>
Sat, 5 Feb 2022 18:12:34 +0000 (18:12 +0000)
committerBram Moolenaar <Bram@vim.org>
Sat, 5 Feb 2022 18:12:34 +0000 (18:12 +0000)
commit82e46e5d31ba1ca8d4e322acdacdd90ab80705d9
treec7f92d918cc5ab69444db3ec94ac85c5fe801b60
parente0c2b2ceaa8ca2d0f412f17f4cf14fb4f7a3296f
patch 8.2.4302: Vim9: return type of getline() is too strict

Problem:    Vim9: return type of getline() is too strict.
Solution:   Make the declared type list<any>.  Also do this for other
            functions returning a list of a specific type.
src/evalfunc.c
src/testdir/test_vim9_builtin.vim
src/version.c