diff src/testdir/test_vimscript.vim @ 17184:a5c3d374e1d3 v8.1.1591

patch 8.1.1591: on error garbage collection may free memory in use commit https://github.com/vim/vim/commit/7d491c425334d9477637372a4ebec64c228c8430 Author: Bram Moolenaar <Bram@vim.org> Date: Tue Jun 25 06:28:02 2019 +0200 patch 8.1.1591: on error garbage collection may free memory in use Problem: On error garbage collection may free memory in use. Solution: Reset may_garbage_collect when evaluating expression mapping. Add tests. (Ozaki Kiichi, closes #4579)
author Bram Moolenaar <Bram@vim.org>
date Tue, 25 Jun 2019 06:30:09 +0200
parents d244a9be99db
children 984eef966002
line wrap: on
line diff
--- a/src/testdir/test_vimscript.vim
+++ b/src/testdir/test_vimscript.vim
@@ -1665,7 +1665,7 @@ func Test_refcount()
     delfunc DictFunc
 endfunc
 
-func! Test_funccall_garbage_collect()
+func Test_funccall_garbage_collect()
     func Func(x, ...)
         call add(a:x, a:000)
     endfunc