]> granicus.if.org Git - vim/commit
patch 8.2.3296: Vim9: cannot add a number to a float v8.2.3296
authorBram Moolenaar <Bram@vim.org>
Thu, 5 Aug 2021 17:01:17 +0000 (19:01 +0200)
committerBram Moolenaar <Bram@vim.org>
Thu, 5 Aug 2021 17:01:17 +0000 (19:01 +0200)
commitaf647e76cacc60d3cfc5df3ff5b3d9d4b69b519d
tree051973a8b7f0bd9cec2d1fdd0bb37d86a86244b2
parent4f33bc20d7d5444e44d13f954e8219ad1abd26ef
patch 8.2.3296: Vim9: cannot add a number to a float

Problem:    Vim9: cannot add a number to a float.
Solution:   Accept a number if the destination is a float. (closes #8703)
src/testdir/test_vim9_assign.vim
src/version.c
src/vim9compile.c