1
0
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:
Bram Moolenaar
2020-09-23 21:57:23 +02:00
parent 4ee711f213
commit 148ce7ae62
6 changed files with 93 additions and 64 deletions

View File

@@ -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()