view src/testdir/test_eval_func.vim @ 15285:f6fd8f8a6583

Added tag v8.1.0650 for changeset c31e4b1fa4fd9645782afdfe48e1bf0df3253340
author Bram Moolenaar <Bram@vim.org>
date Fri, 28 Dec 2018 18:45: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')