]> granicus.if.org Git - vim/commit
patch 8.2.0339: Vim9: function return type may depend on arguments v8.2.0339
authorBram Moolenaar <Bram@vim.org>
Sun, 1 Mar 2020 13:04:46 +0000 (14:04 +0100)
committerBram Moolenaar <Bram@vim.org>
Sun, 1 Mar 2020 13:04:46 +0000 (14:04 +0100)
commitfbdd08ed9b1798885915c7f27c94786906d258e4
treec228db6d29862aa4f3b7dbcdf19a009ceac12f4a
parentf4f190d8219fc93c6e58e54ce7c1ac15af07840f
patch 8.2.0339: Vim9: function return type may depend on arguments

Problem:    Vim9: function return type may depend on arguments.
Solution:   Instead of a fixed return type use a function to figure out the
            return type.
src/evalbuffer.c
src/evalfunc.c
src/proto/evalbuffer.pro
src/proto/evalfunc.pro
src/testdir/test_vim9_script.vim
src/version.c
src/vim9compile.c