]> granicus.if.org Git - vim/commit
patch 8.2.2729: Vim9: wrong error message for referring to legacy script var v8.2.2729
authorBram Moolenaar <Bram@vim.org>
Tue, 6 Apr 2021 19:17:27 +0000 (21:17 +0200)
committerBram Moolenaar <Bram@vim.org>
Tue, 6 Apr 2021 19:17:27 +0000 (21:17 +0200)
commit643ce6c0c694667a2afd24bb39d8e9d36d94d7a9
treee9fb101fb1bc6e4b24291bcdf8100c1428af0bfe
parente3d1f4c982bd0fe05496448d7868268c75ff7bfb
patch 8.2.2729: Vim9: wrong error message for referring to legacy script var

Problem:    Vim9: wrong error message for referring to legacy script variable.
Solution:   Do allow referring to a variable in legacy script without "s:" if
            it exists at compile time. (closes #8076)
src/testdir/test_vim9_assign.vim
src/version.c
src/vim9compile.c