Mercurial > vim
comparison 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 |
comparison
equal
deleted
inserted
replaced
28622:a2a087110496 | 28623:1d92ba691dc4 |
---|---|
5569 (varnumber_T)(iptr->isn_arg.number)); | 5569 (varnumber_T)(iptr->isn_arg.number)); |
5570 } | 5570 } |
5571 break; | 5571 break; |
5572 case ISN_LOADOUTER: | 5572 case ISN_LOADOUTER: |
5573 { | 5573 { |
5574 if (iptr->isn_arg.number < 0) | 5574 if (iptr->isn_arg.outer.outer_idx < 0) |
5575 smsg("%s%4d LOADOUTER level %d arg[%d]", pfx, current, | 5575 smsg("%s%4d LOADOUTER level %d arg[%d]", pfx, current, |
5576 iptr->isn_arg.outer.outer_depth, | 5576 iptr->isn_arg.outer.outer_depth, |
5577 iptr->isn_arg.outer.outer_idx | 5577 iptr->isn_arg.outer.outer_idx |
5578 + STACK_FRAME_SIZE); | 5578 + STACK_FRAME_SIZE); |
5579 else | 5579 else |