Skip to content

Commit

Permalink
Data.Closure: Fix for Partial
Browse files Browse the repository at this point in the history
  • Loading branch information
thinca committed Jun 4, 2016
1 parent 49faf10 commit 9ef73cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion autoload/vital/__vital__/Data/Closure.vim
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ function! s:is_closure(expr) abort
return type(a:expr) == type({}) &&
\ has_key(a:expr, 'call') &&
\ type(a:expr.call) == type(function('call')) &&
\ a:expr.call == s:Closure.call
\ get(a:expr, 'call') == get(s:Closure, 'call')
endfunction

function! s:is_callable(expr) abort
Expand Down

0 comments on commit 9ef73cc

Please sign in to comment.