]> granicus.if.org Git - vim/commit
patch 8.2.2775: Vim9: wrong line number used for some commands v8.2.2775
authorBram Moolenaar <Bram@vim.org>
Sat, 17 Apr 2021 15:59:19 +0000 (17:59 +0200)
committerBram Moolenaar <Bram@vim.org>
Sat, 17 Apr 2021 15:59:19 +0000 (17:59 +0200)
commitc70fe460b09f6182a13e4385f3232df4fdcd0741
tree54bd1289b9a4c1fec951c3571011e01b37017df6
parent6c7cc347af4f4bc1bf180d80ef81413f89e78f56
patch 8.2.2775: Vim9: wrong line number used for some commands

Problem:    Vim9: wrong line number used for some commands.
Solution:   For :exe, :echo and the like use the line number of the start of
            the command.  When calling a function set the line number in the
            script context.
src/structs.h
src/testdir/test_vim9_script.vim
src/version.c
src/vim9compile.c
src/vim9execute.c