]> granicus.if.org Git - vim/commit
patch 8.2.0483: Vim9: "let x = x + 1" does not give an error v8.2.0483
authorBram Moolenaar <Bram@vim.org>
Mon, 30 Mar 2020 19:05:45 +0000 (21:05 +0200)
committerBram Moolenaar <Bram@vim.org>
Mon, 30 Mar 2020 19:05:45 +0000 (21:05 +0200)
commitd25ec2cfa0c25c3b00b7f8963b8aea799df1f20a
treee3cfefe979dd73574dec6f8edc5388b6afba0a5e
parentca68ae13114619df3e4c195b41ad0575516f5ff6
patch 8.2.0483: Vim9: "let x = x + 1" does not give an error

Problem:    Vim9: "let x = x + 1" does not give an error.
Solution:   Hide the variable when compiling the expression.
src/testdir/test_vim9_expr.vim
src/version.c
src/vim9compile.c