]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 9.1.1546: Vim9: error with has() and short circuit evaluation v9.1.1546
authorYegappan Lakshmanan <yegappan@yahoo.com>
Tue, 15 Jul 2025 18:26:52 +0000 (20:26 +0200)
committerChristian Brabandt <cb@256bit.org>
Tue, 15 Jul 2025 18:30:52 +0000 (20:30 +0200)
commit8de753148f6300aa00f0c3c5dacec3b1ca886c34
treea3f45dcae9be18af9e233ac8c5d53a27ff0bbbba
parentedce68912eacb45704cb6654940e3967afe2bd96
patch 9.1.1546: Vim9: error with has() and short circuit evaluation

Problem:  Vim9: error with has() and short circuit evaluation
Solution: Only eval, if ctx_skip is not SKIP_YES (Yegappan Lakshmanan).

fixes: #17750
closes: #17755

Signed-off-by: Yegappan Lakshmanan <yegappan@yahoo.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
src/testdir/test_vim9_disassemble.vim
src/testdir/test_vim9_script.vim
src/version.c
src/vim9expr.c