mirror of
https://github.com/neovim/neovim.git
synced 2025-12-15 19:05:40 +00:00
vim-patch:8.2.2857: Vim9: exception in ISN_INSTR caught at wrong level (#23131)
Problem: Vim9: exception in ISN_INSTR caught at wrong level.
Solution: Set the starting trylevel in exec_instructions(). (closes vim/vim#8214)
ff65288aa8
Co-authored-by: Bram Moolenaar <Bram@vim.org>
This commit is contained in:
@@ -63,6 +63,6 @@ describe('Test for delete()', function()
|
||||
|
||||
it('gives correct emsgs', function()
|
||||
eq('Vim(call):E474: Invalid argument', exc_exec("call delete('')"))
|
||||
eq('Vim(call):E15: Invalid expression: 0', exc_exec("call delete('foo', 0)"))
|
||||
eq('Vim(call):E15: Invalid expression: "0"', exc_exec("call delete('foo', 0)"))
|
||||
end)
|
||||
end)
|
||||
|
||||
Reference in New Issue
Block a user