mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
vim-patch:7.4.1181
Problem: free_tv() can't handle special variables. (Damien)
Solution: Add the variable type.
6650a69454
Code is N/A. This only ports the tests.
This commit is contained in:
parent
3fa5d50183
commit
a937fc53ef
@ -1212,6 +1212,16 @@ func Test_type()
|
||||
call assert_false(empty(v:true))
|
||||
call assert_true(empty(v:null))
|
||||
" call assert_true(empty(v:none))
|
||||
|
||||
func ChangeYourMind()
|
||||
try
|
||||
return v:true
|
||||
finally
|
||||
return 'something else'
|
||||
endtry
|
||||
endfunc
|
||||
|
||||
call ChangeYourMind()
|
||||
endfunc
|
||||
|
||||
"-------------------------------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user