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:
zeertzjq 2022-02-07 05:34:20 +08:00
parent 3fa5d50183
commit a937fc53ef

View File

@ -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
"-------------------------------------------------------------------------------