summaryrefslogtreecommitdiff
path: root/src/vim9.h
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2023-01-27 20:14:02 +0000
committerBram Moolenaar <Bram@vim.org>2023-01-27 20:14:02 +0000
commit8dbab1d8ceb82a0fb693a1b7fcb57a2dfb4de068 (patch)
treed4e6d32b34dcfbd00784c297ff1139079eb47f44 /src/vim9.h
parent657aea7fc47fb919ce76fad64ba0ec55a1af80f1 (diff)
downloadvim-git-8dbab1d8ceb82a0fb693a1b7fcb57a2dfb4de068.tar.gz
patch 9.0.1250: cannot use an object method with :deferv9.0.1250
Problem: Cannot use an object method with :defer. (Ernie Rael) Solution: Find the object method and generate code to call it. (closes #11886)
Diffstat (limited to 'src/vim9.h')
-rw-r--r--src/vim9.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vim9.h b/src/vim9.h
index f1c453017..faf2650ba 100644
--- a/src/vim9.h
+++ b/src/vim9.h
@@ -122,6 +122,7 @@ typedef enum {
ISN_NEWFUNC, // create a global function from a lambda function
ISN_DEF, // list functions
ISN_DEFER, // :defer argument count is isn_arg.number
+ ISN_DEFEROBJ, // idem, function is an object method
// expression operations
ISN_JUMP, // jump if condition is matched isn_arg.jump