mirror of
https://github.com/vim/vim.git
synced 2025-09-24 03:44:06 -04:00
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)
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user