We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 49faf10 + 9ef73cc commit 1fceb56Copy full SHA for 1fceb56
1 file changed
autoload/vital/__vital__/Data/Closure.vim
@@ -241,7 +241,7 @@ function! s:is_closure(expr) abort
241
return type(a:expr) == type({}) &&
242
\ has_key(a:expr, 'call') &&
243
\ type(a:expr.call) == type(function('call')) &&
244
- \ a:expr.call == s:Closure.call
+ \ get(a:expr, 'call') == get(s:Closure, 'call')
245
endfunction
246
247
function! s:is_callable(expr) abort
0 commit comments