Mercurial > vim
view ci/if_ver-1.vim @ 23879:9ddf1a537fc2
patch 8.2.2481: Vim9: confusing error when variable arguments have default
Commit: https://github.com/vim/vim/commit/4f53b79bf5f8b0de7c6933fd157894ba7a53f35e
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Feb 7 15:59:49 2021 +0100
patch 8.2.2481: Vim9: confusing error when variable arguments have default
Problem: Vim9: confusing error when variable arguments have a default
value.
Solution: Give a specific error message. (closes #7793)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 07 Feb 2021 16:00:04 +0100 |
parents | 27ff44268da5 |
children | 0878f0fd349b |
line wrap: on
line source
" Print all interface versions for Ubuntu. Part 1. if 1 execute 'source' expand('<sfile>:h') .. '/if_ver-cmd.vim' echo "*** Interface versions ***\n" echo 'Lua:' PrintVer lua print(_VERSION) echo 'MzScheme:' PrintVer mzscheme (display (version)) echo 'Perl:' PrintVer perl print $^V echo 'Ruby:' PrintVer ruby print RUBY_VERSION echo 'Tcl:' PrintVer tcl puts [info patchlevel] echo 'Python 2:' PrintVer python print sys.version endif