]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 8.2.3766: converting a funcref to a string leaves out "g:" v8.2.3766
authorBram Moolenaar <Bram@vim.org>
Thu, 9 Dec 2021 16:40:18 +0000 (16:40 +0000)
committerBram Moolenaar <Bram@vim.org>
Thu, 9 Dec 2021 16:40:18 +0000 (16:40 +0000)
commitc4ec338fb80ebfb5d631f0718fdd1a1c04d9ed82
tree7d7f953f0a5a9de830e4a972f08d92fdf25be4ef
parentdcb53be4418fe263a71c7738315241031df6c986
patch 8.2.3766: converting a funcref to a string leaves out "g:"

Problem:    Converting a funcref to a string leaves out "g:", causing the
            meaning of the name depending on the context.
Solution:   Prepend "g:" for a global function.
src/eval.c
src/testdir/test_functions.vim
src/version.c