Mercurial > vim
view src/testdir/unix.vim @ 27569:f40647a2b36a v8.2.4311
patch 8.2.4311: Vim9: changing script variable type not caught compile time
Commit: https://github.com/vim/vim/commit/160afdb1850b8cf56dc8e94acee7a04bc2113992
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Feb 6 17:17:02 2022 +0000
patch 8.2.4311: Vim9: changing script variable type not caught compile time
Problem: Vim9: changing script variable type not caught at compile time.
Solution: Set the declared type.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 06 Feb 2022 18:30:04 +0100 |
parents | bfd636b8e259 |
children | dbec60b8c253 |
line wrap: on
line source
" Settings for test script execution " Always use "sh", don't use the value of "$SHELL". set shell=sh " Only when the +eval feature is present. if 1 " While some tests overwrite $HOME to prevent them from polluting user files, " we need to remember the original value so that we can tell external systems " where to ask about their own user settings. let g:tester_HOME = $HOME endif source setup.vim