]> granicus.if.org Git - vim/commit
patch 8.1.1816: cannot use a user defined function as a method v8.1.1816
authorBram Moolenaar <Bram@vim.org>
Sun, 4 Aug 2019 21:04:39 +0000 (23:04 +0200)
committerBram Moolenaar <Bram@vim.org>
Sun, 4 Aug 2019 21:04:39 +0000 (23:04 +0200)
commitfcfe1a9b8950b8b211ab3b24d84b17c6847ea43f
treedaeeffb4dd96cdd7744597d9623d222404edd8e2
parent7a4ea1df2f85e00286c49db1145e3a38b35557f4
patch 8.1.1816: cannot use a user defined function as a method

Problem:    Cannot use a user defined function as a method.
Solution:   Pass the base as the first argument to the user defined function
            after "->". (partly by FUJIWARA Takuya)
src/eval.c
src/testdir/sautest/autoload/foo.vim
src/testdir/test_autoload.vim
src/testdir/test_user_func.vim
src/userfunc.c
src/version.c