Mercurial > vim
view src/testdir/test_comparators.in @ 8257:c4ffdda8cdfd v7.4.1421
commit https://github.com/vim/vim/commit/c8dcbb12c5d7f3eb0c334daebb4475bb015b91e7
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Feb 25 23:10:17 2016 +0100
patch 7.4.1421
Problem: May free a channel when a callback may need to be invoked.
Solution: Keep the channel when refcount is zero.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Thu, 25 Feb 2016 23:15:05 +0100 |
parents | 5fc5c5bf2233 |
children |
line wrap: on
line source
" Test for expression comparators. vim: set ft=vim : STARTTEST :so small.vim :try : let oldisident=&isident : set isident+=# : if 1 is#1 : $put ='ok' : else : $put ='ng' : endif :finally : let &isident=oldisident :endtry :" :/^marker/+1,$wq! test.out ENDTEST marker