forked from aniani/vim
patch 8.2.1734: Vim9: cannot use a funcref for a closure twice
Problem: Vim9: cannot use a funcref for a closure twice.
Solution: Instead of putting the funcref on the stack use a growarray on the
execution context.
This commit is contained in:
@@ -1367,7 +1367,7 @@ def Test_double_closure_fails()
|
||||
enddef
|
||||
Func()
|
||||
END
|
||||
CheckScriptFailure(lines, 'Multiple closures not supported yet')
|
||||
CheckScriptSuccess(lines)
|
||||
enddef
|
||||
|
||||
def Test_sort_return_type()
|
||||
|
||||
Reference in New Issue
Block a user