Mercurial > vim
comparison src/proto/vim9instr.pro @ 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 | 6ed31017c303 |
children | 088d8dc22045 |
comparison
equal
deleted
inserted
replaced
27375:90523078c8e2 | 27376:1a6421c5be20 |
---|---|
21 int generate_PUSHS(cctx_T *cctx, char_u **str); | 21 int generate_PUSHS(cctx_T *cctx, char_u **str); |
22 int generate_PUSHCHANNEL(cctx_T *cctx, channel_T *channel); | 22 int generate_PUSHCHANNEL(cctx_T *cctx, channel_T *channel); |
23 int generate_PUSHJOB(cctx_T *cctx, job_T *job); | 23 int generate_PUSHJOB(cctx_T *cctx, job_T *job); |
24 int generate_PUSHBLOB(cctx_T *cctx, blob_T *blob); | 24 int generate_PUSHBLOB(cctx_T *cctx, blob_T *blob); |
25 int generate_PUSHFUNC(cctx_T *cctx, char_u *name, type_T *type); | 25 int generate_PUSHFUNC(cctx_T *cctx, char_u *name, type_T *type); |
26 int generate_AUTOLOAD(cctx_T *cctx, char_u *name, type_T *type); | |
26 int generate_GETITEM(cctx_T *cctx, int index, int with_op); | 27 int generate_GETITEM(cctx_T *cctx, int index, int with_op); |
27 int generate_SLICE(cctx_T *cctx, int count); | 28 int generate_SLICE(cctx_T *cctx, int count); |
28 int generate_CHECKLEN(cctx_T *cctx, int min_len, int more_OK); | 29 int generate_CHECKLEN(cctx_T *cctx, int min_len, int more_OK); |
29 int generate_STORE(cctx_T *cctx, isntype_T isn_type, int idx, char_u *name); | 30 int generate_STORE(cctx_T *cctx, isntype_T isn_type, int idx, char_u *name); |
30 int generate_STORENR(cctx_T *cctx, int idx, varnumber_T value); | 31 int generate_STORENR(cctx_T *cctx, int idx, varnumber_T value); |