Mercurial > vim
view src/testdir/test_eval_func.vim @ 16539:563163ec0244 v8.1.1273
patch 8.1.1273: compiler warning in direct write code
commit https://github.com/vim/vim/commit/f653a6bcff48161b56eeb3a584011aab6665f1e7
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun May 5 13:20:02 2019 +0200
patch 8.1.1273: compiler warning in direct write code
Problem: Compiler warning in direct write code.
Solution: Add a type cast.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 05 May 2019 13:30:05 +0200 |
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')