comparison src/vim9.h @ 27376:1a6421c5be20 v8.2.4216

patch 8.2.4216: Vim9: cannot use a function from an autoload import directly Commit: https://github.com/vim/vim/commit/06b77229ca704d00c4f138ed0377556e54d5851f Author: Bram Moolenaar <Bram@vim.org> Date: Tue Jan 25 15:51:56 2022 +0000 patch 8.2.4216: Vim9: cannot use a function from an autoload import directly Problem: Vim9: cannot use a function from an autoload import directly. Solution: Add the AUTOLOAD instruction to figure out at runtime. (closes #9620)
author Bram Moolenaar <Bram@vim.org>
date Tue, 25 Jan 2022 17:00:06 +0100
parents 6fc63c6a7ee7
children 3813036f19cb
comparison
equal deleted inserted replaced
27375:90523078c8e2 27376:1a6421c5be20
89 ISN_PUSHFUNC, // push func isn_arg.string 89 ISN_PUSHFUNC, // push func isn_arg.string
90 ISN_PUSHCHANNEL, // push channel isn_arg.channel 90 ISN_PUSHCHANNEL, // push channel isn_arg.channel
91 ISN_PUSHJOB, // push channel isn_arg.job 91 ISN_PUSHJOB, // push channel isn_arg.job
92 ISN_NEWLIST, // push list from stack items, size is isn_arg.number 92 ISN_NEWLIST, // push list from stack items, size is isn_arg.number
93 ISN_NEWDICT, // push dict from stack items, size is isn_arg.number 93 ISN_NEWDICT, // push dict from stack items, size is isn_arg.number
94
95 ISN_AUTOLOAD, // get item from autoload import, function or variable
94 96
95 // function call 97 // function call
96 ISN_BCALL, // call builtin function isn_arg.bfunc 98 ISN_BCALL, // call builtin function isn_arg.bfunc
97 ISN_DCALL, // call def function isn_arg.dfunc 99 ISN_DCALL, // call def function isn_arg.dfunc
98 ISN_UCALL, // call user function or funcref/partial isn_arg.ufunc 100 ISN_UCALL, // call user function or funcref/partial isn_arg.ufunc