view src/testdir/test_eval_func.vim @ 18868:5fbb167591fc v8.1.2420

patch 8.1.2420: crash when calling popup_close() in win_execute() Commit: https://github.com/vim/vim/commit/4954019c93a2bb5a0b1af54b5961c933beeb56f4 Author: Bram Moolenaar <Bram@vim.org> Date: Wed Dec 11 19:34:54 2019 +0100 patch 8.1.2420: crash when calling popup_close() in win_execute() Problem: Crash when calling popup_close() in win_execute(). Solution: Disallow popup_close() in popup window. (Yasuhiro Matsumoto, closes #5345)
author Bram Moolenaar <Bram@vim.org>
date Wed, 11 Dec 2019 19:45:04 +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')