0
0
mirror of https://github.com/vim/vim.git synced 2025-10-03 05:14:07 -04:00

patch 8.1.2011: more functions can be used as methods

Problem:    More functions can be used as methods.
Solution:   Make various functions usable as a method.  Make the window
            command test faster.
This commit is contained in:
Bram Moolenaar
2019-09-08 18:58:44 +02:00
parent 9490b9a61c
commit ce90e36f59
15 changed files with 110 additions and 79 deletions

View File

@@ -1596,7 +1596,7 @@ func Test_refcount()
call assert_equal(1, test_refcount(x))
let x = {}
call assert_equal(1, test_refcount(x))
call assert_equal(1, x->test_refcount())
let x = 0zff
call assert_equal(1, test_refcount(x))