view ci/if_ver-cmd.vim @ 28899:2644e49d5147 v8.2.4972

patch 8.2.4972: Vim9: compilation fails when using dict member when skipping Commit: https://github.com/vim/vim/commit/1ff9c44267ce487145d22d75a96370d7f96ae8dd Author: Bram Moolenaar <Bram@vim.org> Date: Tue May 17 15:03:33 2022 +0100 patch 8.2.4972: Vim9: compilation fails when using dict member when skipping Problem: Vim9: compilation fails when using dict member when skipping. Solution: Do not generate ISN_USEDICT when skipping. (closes https://github.com/vim/vim/issues/10433)
author Bram Moolenaar <Bram@vim.org>
date Tue, 17 May 2022 16:15:02 +0200
parents 27ff44268da5
children
line wrap: on
line source

" Provide 'PrintVer' command to print the interface versions.

func s:print_ver(lang, ...)
  if has(a:lang)
    exec a:lang join(a:000)
  else
    echo 'N/A'
  endif
  echo ''
endfunc

command -nargs=+ PrintVer call <SID>print_ver(<f-args>)