mirror of
https://github.com/vim/vim.git
synced 2025-10-06 05:44:14 -04:00
patch 7.4.2137
Problem: Using function() with a name will find another function when it is redefined. Solution: Add funcref(). Refer to lambda using a partial. Fix several reference counting issues.
This commit is contained in:
@@ -152,7 +152,7 @@ function! Test_lambda_delfunc()
|
||||
endfunction
|
||||
|
||||
let l:F = s:gen()
|
||||
call assert_fails(':call l:F()', 'E117:')
|
||||
call assert_fails(':call l:F()', 'E933:')
|
||||
endfunction
|
||||
|
||||
function! Test_lambda_scope()
|
||||
|
Reference in New Issue
Block a user