diff options
author | Yegappan Lakshmanan <yegappan@yahoo.com> | 2024-04-23 20:14:46 +0200 |
---|---|---|
committer | Christian Brabandt <cb@256bit.org> | 2024-04-23 20:14:46 +0200 |
commit | a16f251333e324c94ca8e3e92d1fcf3193dfa382 (patch) | |
tree | d09dde5c33b8e1612588e8c97f9143f9a8fd5309 /src/testdir/test_vim9_builtin.vim | |
parent | ea999037a41292b3d3e00700a87a82fe5d2c12b2 (diff) |
patch 9.1.0367: compile_def_function is too longv9.1.0367
Problem: compile_def_function is too long
Solution: Move out the code to compile the body of a function
(Yegappan Lakshmanan)
closes: #14622
Signed-off-by: Yegappan Lakshmanan <yegappan@yahoo.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
Diffstat (limited to 'src/testdir/test_vim9_builtin.vim')
-rw-r--r-- | src/testdir/test_vim9_builtin.vim | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/testdir/test_vim9_builtin.vim b/src/testdir/test_vim9_builtin.vim index 35ff091a45..42d09fe9a5 100644 --- a/src/testdir/test_vim9_builtin.vim +++ b/src/testdir/test_vim9_builtin.vim @@ -4785,6 +4785,8 @@ def Test_typename() endif assert_equal('class<Unknown>', typename(null_class)) assert_equal('object<Unknown>', typename(null_object)) + var l: list<func(list<number>): number> = [function('min')] + assert_equal('list<func(list<number>): number>', typename(l)) enddef def Test_undofile() |