Mercurial > vim
view src/testdir/test_comparators.vim @ 24406:a26f0fa12845 v8.2.2743
patch 8.2.2743: Vim9: function state stuck when compiling with ":silent!"
Commit: https://github.com/vim/vim/commit/599410cb3cb19946cd6df22441da5de003e114bb
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Apr 10 14:03:43 2021 +0200
patch 8.2.2743: Vim9: function state stuck when compiling with ":silent!"
Problem: Vim9: function state stuck when compiling with ":silent!".
Solution: Check for uf_def_status to be UF_COMPILING.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 10 Apr 2021 14:15:03 +0200 |
parents | 08940efa6b4e |
children |
line wrap: on
line source
" Test for comparators function Test_Comparators() try let oldisident=&isident set isident+=# call assert_equal(1, 1 is#1) finally let &isident=oldisident endtry endfunction " vim: shiftwidth=2 sts=2 expandtab