]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 9.1.1917: Vim9: incorrect type inference with mkdir() v9.1.1917
authorYegappan Lakshmanan <yegappan@yahoo.com>
Sat, 15 Nov 2025 17:41:28 +0000 (17:41 +0000)
committerChristian Brabandt <cb@256bit.org>
Sat, 15 Nov 2025 17:41:28 +0000 (17:41 +0000)
commita650485ed53cba4eb4d74e743a708fa51e2dd6db
tree8f371e870bc83ba5cd703e5c2f8660309401d42c
parent61b73b89a3114b4bf62ffbedc8d0d3aa321bdcd5
patch 9.1.1917: Vim9: incorrect type inference with mkdir()

Problem:  Vim9: incorrect type inference with mkdir()
          (dezza)
Solution: Before compiling a RHS expression in an assignment, save the
          new local variable contents (Yegappan Lakshmanan)

fixes: #18751
closes: #18751

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