diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-01-25 15:51:56 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-01-25 15:51:56 +0000 |
commit | 06b77229ca704d00c4f138ed0377556e54d5851f (patch) | |
tree | 6b24e9838841943803574a424599d687be2c05f1 /src/vim9.h | |
parent | dc5490e2cbc8c16022a23b449b48c1bd0083f366 (diff) | |
download | vim-git-06b77229ca704d00c4f138ed0377556e54d5851f.tar.gz |
patch 8.2.4216: Vim9: cannot use a function from an autoload import directlyv8.2.4216
Problem: Vim9: cannot use a function from an autoload import directly.
Solution: Add the AUTOLOAD instruction to figure out at runtime.
(closes #9620)
Diffstat (limited to 'src/vim9.h')
-rw-r--r-- | src/vim9.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/vim9.h b/src/vim9.h index 912af1f5d..45e97a2db 100644 --- a/src/vim9.h +++ b/src/vim9.h @@ -92,6 +92,8 @@ typedef enum { ISN_NEWLIST, // push list from stack items, size is isn_arg.number ISN_NEWDICT, // push dict from stack items, size is isn_arg.number + ISN_AUTOLOAD, // get item from autoload import, function or variable + // function call ISN_BCALL, // call builtin function isn_arg.bfunc ISN_DCALL, // call def function isn_arg.dfunc |