]> granicus.if.org Git - vim/commit
patch 8.2.4059: Vim9: an expression of a map cannot access script-local items v8.2.4059
authorBram Moolenaar <Bram@vim.org>
Tue, 11 Jan 2022 11:58:19 +0000 (11:58 +0000)
committerBram Moolenaar <Bram@vim.org>
Tue, 11 Jan 2022 11:58:19 +0000 (11:58 +0000)
commit19db9e6ba710ca32f0f5e0c2ca2ba69f8228b833
tree985829b16070d2e27065d670fcb2ed42a03e160e
parent762838218feb223f53ab87d80928dadd991a1746
patch 8.2.4059: Vim9: an expression of a map cannot access script-local items

Problem:    Vim9: an expression of a map cannot access script-local items.
            (Maxim Kim)
Solution:   Use the script ID of where the map was defined.
src/getchar.c
src/map.c
src/proto/map.pro
src/testdir/test_vim9_import.vim
src/version.c