Mercurial > vim
view src/testdir/dumps/Test_textprop_vis_01.dump @ 19854:eddc81783052 v8.2.0483
patch 8.2.0483: Vim9: "let x = x + 1" does not give an error
Commit: https://github.com/vim/vim/commit/d25ec2cfa0c25c3b00b7f8963b8aea799df1f20a
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Mar 30 21:05:45 2020 +0200
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.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 30 Mar 2020 21:15:03 +0200 |
parents | 7847d281cbbf |
children |
line wrap: on
line source
|x+0&#ffffff0@4>x@1| |1+0&#ffff4012|2|3| +0&#ffffff0|x| @61 |x@5| |1+0&#ffff4012|2|3| +0&#ffffff0|x| @62 |x@4| |1+0&#ffff4012|2|3| +0&#ffffff0|x| @63 |x@4|1+0&#ffff4012|2|3| +0&#ffffff0|x| @64 |x@4|2+0&#ffff4012|3| +0&#ffffff0|x| @65 |x@3| |3+0&#ffff4012| +0&#ffffff0|x@1| @65 |x@2| |1+0&#ffff4012| +0&#ffffff0|x@2| @65 |x@1| |1+0&#ffff4012|2|x+0&#ffffff0@3| @65 |x| |1+0&#ffff4012|2|3|x+0&#ffffff0@3| @65 @1|1+0&#ffff4012|2|3| +0&#ffffff0|x@3| @65 |~+0#4040ff13&| @73 | +0#0000000&@56|1|,|6| @10|A|l@1|