view src/testdir/test_eval_func.vim @ 17375:6f36caf4f702 v8.1.1686

patch 8.1.1686: "*" of "*{" is recognized as multipy operator commit https://github.com/vim/vim/commit/2898ebb44cee62a70a11b44a97bdad8cc00157b1 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Jul 14 13:41:34 2019 +0200 patch 8.1.1686: "*" of "*{" is recognized as multipy operator Problem: "*" of "*{" is recognized as multipy operator. (Yasuhiro Matsumoto) Solution: Check for the "{".
author Bram Moolenaar <Bram@vim.org>
date Sun, 14 Jul 2019 13:45:05 +0200
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')