Mercurial > vim
comparison src/testdir/test_viml.vim @ 7768:3d8e4e0d7127 v7.4.1181
commit https://github.com/vim/vim/commit/6650a694547eb744afa060ec62dd8270e99db9f2
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Jan 26 19:59:10 2016 +0100
patch 7.4.1181
Problem: free_tv() can't handle special variables. (Damien)
Solution: Add the variable type.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Tue, 26 Jan 2016 20:00:05 +0100 |
parents | 26bb1a6abe25 |
children | d4fec9208e7e |
comparison
equal
deleted
inserted
replaced
7767:c9daa07abf34 | 7768:3d8e4e0d7127 |
---|---|
1003 | 1003 |
1004 call assert_true(empty(v:false)) | 1004 call assert_true(empty(v:false)) |
1005 call assert_false(empty(v:true)) | 1005 call assert_false(empty(v:true)) |
1006 call assert_true(empty(v:null)) | 1006 call assert_true(empty(v:null)) |
1007 call assert_true(empty(v:none)) | 1007 call assert_true(empty(v:none)) |
1008 | |
1009 func ChangeYourMind() | |
1010 try | |
1011 return v:true | |
1012 finally | |
1013 return 'something else' | |
1014 endtry | |
1015 endfunc | |
1016 | |
1017 call ChangeYourMind() | |
1008 endfunc | 1018 endfunc |
1009 | 1019 |
1010 "------------------------------------------------------------------------------- | 1020 "------------------------------------------------------------------------------- |
1011 " Modelines {{{1 | 1021 " Modelines {{{1 |
1012 " vim: ts=8 sw=4 tw=80 fdm=marker | 1022 " vim: ts=8 sw=4 tw=80 fdm=marker |