]> granicus.if.org Git - vim/commit
patch 9.0.1108: type error when using "any" type and adding to float v9.0.1108
authorBram Moolenaar <Bram@vim.org>
Thu, 29 Dec 2022 20:56:24 +0000 (20:56 +0000)
committerBram Moolenaar <Bram@vim.org>
Thu, 29 Dec 2022 20:56:24 +0000 (20:56 +0000)
commitc6951a76a58663ef8a773d340f2260da7455643c
tree85498d64d07c8c65919d0938494a754a213e21c4
parent73ade49c4b692e77d2c0b2ef0afbedbf55c5f946
patch 9.0.1108: type error when using "any" type and adding to float

Problem:    Type error when using "any" type and adding a number to a float.
Solution:   Accept both a number and a float. (closes #11753)
12 files changed:
src/evalfunc.c
src/proto/vim9compile.pro
src/proto/vim9instr.pro
src/structs.h
src/testdir/test_vim9_expr.vim
src/version.c
src/vim9cmds.c
src/vim9compile.c
src/vim9execute.c
src/vim9expr.c
src/vim9instr.c
src/vim9type.c