]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 8.2.4572: Vim9: return type "any" is changed to first returned type v8.2.4572
authorBram Moolenaar <Bram@vim.org>
Tue, 15 Mar 2022 12:28:10 +0000 (12:28 +0000)
committerBram Moolenaar <Bram@vim.org>
Tue, 15 Mar 2022 12:28:10 +0000 (12:28 +0000)
commit1a572e9b3b497e0412b4001cd9c6859db0c35412
tree876a147e3ef18869fd728a1d2d6d3e8dbc56b604
parent8d5e514d77bd4b1956656ad2be2ce7094bd43a72
patch 8.2.4572: Vim9: return type "any" is changed to first returned type

Problem:    Vim9: return type "any" is sometimes changed to first returned
            type.  (Virginia Senioria)
Solution:   Do not change the return type if declared as "any". (closes #9949)
src/testdir/test_vim9_func.vim
src/version.c
src/vim9cmds.c