Hi Bram,
On Wed, Apr 22, 2020 at 10:14 AM Bram Moolenaar <[email protected]> wrote:
>
> 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.
>
>
Thanks for the fix. That works. A similar problem exists for the null Dict.
After making the change for a null Dict, I see that comparing a null
Dict against an empty Dict returns False.
:echo {} == test_null_dict()
0
:echo [] == test_null_list()
1
:echo "" == test_null_string()
1
:echo 0z == test_null_blob()
1
- Yegappan
--
--
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/CAAW7x7nd9%2BrnZg9buTH4umHdR8VBcB%2Bg4v8wi37MVRQPA36ibg%40mail.gmail.com.