comparison src/vim9.h @ 31424:e31fc75f6aff v9.0.1045

patch 9.0.1045: in a class object members cannot be initialized Commit: https://github.com/vim/vim/commit/7ce7daf6cd6a7ed27eac060699026640b4b239a8 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Dec 10 18:42:12 2022 +0000 patch 9.0.1045: in a class object members cannot be initialized Problem: In a class object members cannot be initialized. Solution: Support initializing object members. Make "dissassemble" work on an object method.
author Bram Moolenaar <Bram@vim.org>
date Sat, 10 Dec 2022 19:45:04 +0100
parents f088f1d97eee
children e572ff386670
comparison
equal deleted inserted replaced
31423:66c85efdf4b0 31424:e31fc75f6aff
31 ISN_SUBSTITUTE, // :s command with expression 31 ISN_SUBSTITUTE, // :s command with expression
32 32
33 ISN_SOURCE, // source autoload script, isn_arg.number is the script ID 33 ISN_SOURCE, // source autoload script, isn_arg.number is the script ID
34 ISN_INSTR, // instructions compiled from expression 34 ISN_INSTR, // instructions compiled from expression
35 ISN_CONSTRUCT, // construct an object, using contstruct_T 35 ISN_CONSTRUCT, // construct an object, using contstruct_T
36 ISN_OBJ_MEMBER, // object member, index is isn_arg.number 36 ISN_GET_OBJ_MEMBER, // object member, index is isn_arg.number
37 ISN_STORE_THIS, // store value in "this" object member, index is
38 // isn_arg.number
37 39
38 // get and set variables 40 // get and set variables
39 ISN_LOAD, // push local variable isn_arg.number 41 ISN_LOAD, // push local variable isn_arg.number
40 ISN_LOADV, // push v: variable isn_arg.number 42 ISN_LOADV, // push v: variable isn_arg.number
41 ISN_LOADG, // push g: variable isn_arg.string 43 ISN_LOADG, // push g: variable isn_arg.string