Mercurial > vim
diff src/vim9execute.c @ 19872:8a7bede7b138 v8.2.0492
patch 8.2.0492: Vim9: some error messages not tested
Commit: https://github.com/vim/vim/commit/a8c1770469504ae66c80bbdb03b6b31641215848
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Apr 1 21:17:24 2020 +0200
patch 8.2.0492: Vim9: some error messages not tested
Problem: Vim9: some error messages not tested.
Solution: Add more tests. Remove dead code. Fix uncovered bugs.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 01 Apr 2020 21:30:03 +0200 |
parents | 846fbbacce3a |
children | f92435f0f449 |
line wrap: on
line diff
--- a/src/vim9execute.c +++ b/src/vim9execute.c @@ -684,6 +684,8 @@ call_def_function( typval_T optval; char_u *name = iptr->isn_arg.string; + // This is not expected to fail, name is checked during + // compilation: don't set SOURCING_LNUM. if (ga_grow(&ectx.ec_stack, 1) == FAIL) goto failed; if (get_option_tv(&name, &optval, TRUE) == FAIL)