Mercurial > vim
view ci/if_ver-2.vim @ 22663:0f90c15a4a28 v8.2.1880
patch 8.2.1880: Vim9: asan complains about adding zero to NULL
Commit: https://github.com/vim/vim/commit/af7a9066a956db23a8bc67bc1f82466e3eff55ea
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Oct 21 16:49:17 2020 +0200
patch 8.2.1880: Vim9: asan complains about adding zero to NULL
Problem: Vim9: Asan complains about adding zero to NULL.
Solution: Check for argument count first.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 21 Oct 2020 17:00:03 +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