diff options
author | Bram Moolenaar <Bram@vim.org> | 2021-01-06 21:59:39 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2021-01-06 21:59:39 +0100 |
commit | 32b3f820107139d7edf0c592bb06f090c3eb6c51 (patch) | |
tree | 93d3d6c7ad5bb7689b5ca60be54a15f39f9ef450 /src/structs.h | |
parent | b23279d7a2d28de5df942924b77cf23672fc684f (diff) | |
download | vim-git-32b3f820107139d7edf0c592bb06f090c3eb6c51.tar.gz |
patch 8.2.2306: Vim9: when using function reference type is not checkedv8.2.2306
Problem: Vim9: when using function reference type is not checked.
Solution: When using a function reference lookup the type and check the
argument types. (issue #7629)
Diffstat (limited to 'src/structs.h')
-rw-r--r-- | src/structs.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/structs.h b/src/structs.h index c016f1997..3324b067a 100644 --- a/src/structs.h +++ b/src/structs.h @@ -1944,6 +1944,7 @@ typedef struct { partial_T *partial; // for extra arguments dict_T *selfdict; // Dictionary for "self" typval_T *basetv; // base for base->method() + type_T *check_type; // type from funcref or NULL } funcexe_T; /* |