Mercurial > vim
view src/testdir/test_eval_func.vim @ 8364:991d8fd4d841 v7.4.1474
commit https://github.com/vim/vim/commit/5fac467474376a844407cecc0ff481510ead221c
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Mar 2 22:16:32 2016 +0100
patch 7.4.1474
Problem: Compiler warnings without the float feature.
Solution: Move #ifdefs. (John Marriott)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Wed, 02 Mar 2016 22:30:05 +0100 |
parents | 1a5ed2626b26 |
children | 63b02fcf1361 |
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')