Mercurial > vim
view ci/if_ver-2.vim @ 26656:ab46f0976435 v8.2.3857
patch 8.2.3857: Vim9: inconsistent error for using function()
Commit: https://github.com/vim/vim/commit/2f9f4ccfc8f1d4a56761dc1cc1e9e20190a72c74
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Dec 20 09:36:27 2021 +0000
patch 8.2.3857: Vim9: inconsistent error for using function()
Problem: Vim9: inconsistent error for using function().
Solution: Use a runtime type check for the result of function().
(closes #8492)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 20 Dec 2021 10:45:04 +0100 |
parents | 27ff44268da5 |
children |
line wrap: on
line source
" Print py3 interface versions for Ubuntu. Part 2. if 1 execute 'source' expand('<sfile>:h') .. '/if_ver-cmd.vim' echo 'Python 3:' PrintVer python3 print(sys.version) endif