Mercurial > vim
view src/testdir/test_eval_func.vim @ 15488:da8b98c008bf v8.1.0752
patch 8.1.0752: one more compiler warning for signed/unsigned string
commit https://github.com/vim/vim/commit/8e481e8dfe0b82930faf005c7e840c49cbcf4511
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Jan 15 20:07:48 2019 +0100
patch 8.1.0752: one more compiler warning for signed/unsigned string
Problem: One more compiler warning for signed/unsigned string. (Tony
Mechelynck)
Solution: Remove type cast.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Tue, 15 Jan 2019 20:15:06 +0100 |
parents | 63b02fcf1361 |
children |
line wrap: on
line source
" Vim script used in test_eval.in. Needed for script-local function. func s:Testje() return "foo" endfunc let Bar = function('s:Testje') $put ='s:Testje exists: ' . exists('s:Testje') $put ='func s:Testje exists: ' . exists('*s:Testje') $put ='Bar exists: ' . exists('Bar') $put ='func Bar exists: ' . exists('*Bar')