]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 8.1.0177: defining function in sandbox is inconsistent v8.1.0177
authorBram Moolenaar <Bram@vim.org>
Tue, 10 Jul 2018 17:39:18 +0000 (19:39 +0200)
committerBram Moolenaar <Bram@vim.org>
Tue, 10 Jul 2018 17:39:18 +0000 (19:39 +0200)
commit93343725b5fa1cf580a24302455980faacae8ee2
tree0467626f476965cd0f6042fec8745f3910e42d9b
parent18085fae7482906f8e94ecc7386ecf6a02dc407d
patch 8.1.0177: defining function in sandbox is inconsistent

Problem:    Defining function in sandbox is inconsistent, cannot use :function
            but can define a lambda.
Solution:   Allow defining a function in the sandbox, but also use the sandbox
            when executing it. (closes #3182)
src/ex_cmds.h
src/userfunc.c
src/version.c