Mercurial > vim
view ci/if_ver-2.vim @ 25278:55c85c3a43a0 v8.2.3176
patch 8.2.3176: Vim9: no type error for comparing number with string
Commit: https://github.com/vim/vim/commit/0c35752d04f70408a3c560d5b3edbafcaddff302
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Jul 18 14:43:43 2021 +0200
patch 8.2.3176: Vim9: no type error for comparing number with string
Problem: Vim9: no type error for comparing number with string.
Solution: Add a runtime type check. (closes https://github.com/vim/vim/issues/8571)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 18 Jul 2021 14:45:04 +0200 |
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