Yegappan wrote:

> When a null list (test_null_list()) is added to a list, then echoing the
> list doesn't produce any output:
> 
>   :let l = [1, 2, test_null_list()]
>   :echo l
>   :echo string(l)
> 
> But echoing the first two list elements works:
> 
>   :echo l[:1]
>   [1, 2]

Another case where a NULL list isn't handled like an empty list.
I'll fix it.

-- 
If someone questions your market projections, simply point out that your
target market is "People who are nuts" and "People who will buy any damn
thing".  Nobody is going to tell you there aren't enough of those people
to go around.
                                (Scott Adams - The Dilbert principle)

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/202004221714.03MHEmhx012079%40masaka.moolenaar.net.

Raspunde prin e-mail lui