]> granicus.if.org Git - vim/commit
patch 9.0.0629: get an error for using const only when executing v9.0.0629
authorBram Moolenaar <Bram@vim.org>
Fri, 30 Sep 2022 16:57:47 +0000 (17:57 +0100)
committerBram Moolenaar <Bram@vim.org>
Fri, 30 Sep 2022 16:57:47 +0000 (17:57 +0100)
commita5d1a67bee5672786c4b172f66ae4391e7b0cc57
treeb1fdba033a543ad4e0179ba96fe5be0aed5d81da
parentd0121c63cfb0922a7048ece3efe994df6f444bed
patch 9.0.0629: get an error for using const only when executing

Problem:    Get an error for using const only when executing.
Solution:   Check for const at compile time for filter(), map(), remove(),
            reverse(), sort() and uniq().
src/evalfunc.c
src/testdir/test_vim9_builtin.vim
src/version.c