view src/testdir/test_eval_func.vim @ 19117:8db080710015 v8.2.0118

patch 8.2.0118: crash when cycling to buffers involving popup window Commit: https://github.com/vim/vim/commit/ca7c078b799bfc96b54e9e41f5be3e0bfefadce5 Author: Bram Moolenaar <Bram@vim.org> Date: Tue Jan 14 20:42:48 2020 +0100 patch 8.2.0118: crash when cycling to buffers involving popup window Problem: Crash when cycling to buffers involving popup window . Solution: Do not decrement buffer reference count.
author Bram Moolenaar <Bram@vim.org>
date Tue, 14 Jan 2020 20: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')