mirror of
https://github.com/neovim/neovim.git
synced 2025-11-15 06:49:01 +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:
@@ -103,9 +103,9 @@ describe('luaeval(vim.api.…)', function()
|
||||
eq(NIL, funcs.luaeval('vim.api.nvim__id(nil)'))
|
||||
|
||||
-- API strings from Blobs can work as NUL-terminated C strings
|
||||
eq('Vim(call):E5555: API call: Vim:E15: Invalid expression: ',
|
||||
eq('Vim(call):E5555: API call: Vim:E15: Invalid expression: ""',
|
||||
exc_exec('call nvim_eval(v:_null_blob)'))
|
||||
eq('Vim(call):E5555: API call: Vim:E15: Invalid expression: ',
|
||||
eq('Vim(call):E5555: API call: Vim:E15: Invalid expression: ""',
|
||||
exc_exec('call nvim_eval(0z)'))
|
||||
eq(1, eval('nvim_eval(0z31)'))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user