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)
diff --git a/src/vim9.h b/src/vim9.h
index 912af1f..45e97a2 100644
--- a/src/vim9.h
+++ b/src/vim9.h
@@ -92,6 +92,8 @@
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