To: vim_dev@googlegroups.com Subject: Patch 8.2.4581 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 8.2.4581 Problem: Null types not fully tested. Solution: Add some more tests using null types. Files: src/testdir/test_vim9_expr.vim *** ../vim-8.2.4580/src/testdir/test_vim9_expr.vim 2022-03-15 20:21:26.401378126 +0000 --- src/testdir/test_vim9_expr.vim 2022-03-16 14:34:13.831195653 +0000 *************** *** 2091,2096 **** --- 2091,2101 ---- var llstring: list> = [['text'], []] llstring = [[], ['text']] llstring = [[], []] + + var ls = [null_string] + assert_equal('list', typename(ls)) + var lb = [null_blob] + assert_equal('list', typename(lb)) END v9.CheckDefAndScriptSuccess(lines) *************** *** 2608,2613 **** --- 2613,2623 ---- # comment to start fold is OK var x1: number #{{ fold var x2 = 9 #{{ fold + + var ds = {k: null_string} + assert_equal('dict', typename(ds)) + var dl = {a: null_list} + assert_equal('dict>', typename(dl)) END v9.CheckDefAndScriptSuccess(lines) *** ../vim-8.2.4580/src/version.c 2022-03-16 17:53:58.315925803 +0000 --- src/version.c 2022-03-16 17:55:49.539480324 +0000 *************** *** 752,753 **** --- 752,755 ---- { /* Add new patch number below this line */ + /**/ + 4581, /**/ -- ARTHUR: Right! Knights! Forward! ARTHUR leads a charge toward the castle. Various shots of them battling on, despite being hit by a variety of farm animals. "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ /// \\\ \\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ /// \\\ help me help AIDS victims -- http://ICCF-Holland.org ///