Mercurial > vim
diff src/vim9execute.c @ 28623:1d92ba691dc4 v8.2.4835
patch 8.2.4835: Vim9: some lines not covered by tests
Commit: https://github.com/vim/vim/commit/95e4dd813a19236772dbe53eb9f605b4ff5199b2
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Apr 27 22:15:40 2022 +0100
patch 8.2.4835: Vim9: some lines not covered by tests
Problem: Vim9: some lines not covered by tests.
Solution: Add a few more tests. Fix disassemble output.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 27 Apr 2022 23:30:03 +0200 |
parents | 333be301dfe8 |
children | 56860e29ce5d |
line wrap: on
line diff
--- a/src/vim9execute.c +++ b/src/vim9execute.c @@ -5571,7 +5571,7 @@ list_instructions(char *pfx, isn_T *inst break; case ISN_LOADOUTER: { - if (iptr->isn_arg.number < 0) + if (iptr->isn_arg.outer.outer_idx < 0) smsg("%s%4d LOADOUTER level %d arg[%d]", pfx, current, iptr->isn_arg.outer.outer_depth, iptr->isn_arg.outer.outer_idx