view src/testdir/test_eval_func.vim @ 6773:eb4b705a5d6a v7.4.708

patch 7.4.708 Problem: gettext() is called too often. Solution: Do not call gettext() for messages until they are actually used. (idea by Yasuhiro Matsumoto)
author Bram Moolenaar <bram@vim.org>
date Tue, 21 Apr 2015 16:49:05 +0200
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')