Hi, a few typos:

Op di 5 apr. 2022 22:41 schreef Bram Moolenaar <b...@moolenaar.net>:

>
>
>
> *** ../vim-8.2.4697/src/testdir/test_vim9_assign.vim    2022-04-01
> 15:26:54.988558723 +0100
> --- src/testdir/test_vim9_assign.vim    2022-04-05 21:38:11.555791492 +0100
> ***************
> *** 740,745 ****
> --- 740,746 ----
>   enddef
>
>   def Test_extend_list()
> +   # using uninitilaized list assigns empty list
>


uninitialized




    var lines =<< trim END
>         var l1: list<number>
>         var l2 = l1
> ***************
> *** 757,763 ****
>     END
>     v9.CheckDefAndScriptSuccess(lines)
>
> !   # appending to NULL list from a function
>     lines =<< trim END
>         vim9script
>         var list: list<string>
> --- 758,764 ----
>     END
>     v9.CheckDefAndScriptSuccess(lines)
>
> !   # appending to uninitialzed list from a function works
>     lines =<< trim END
>         vim9script
>         var list: list<string>
> *********


uninitialized

Christ van Willegen

-- 
-- 
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 vim_dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/CA%2BOt1OxU1U%2BSOO0sUrv-tSvtBvMVpFc4GjEWf-ZYqW1E9usfNQ%40mail.gmail.com.

Raspunde prin e-mail lui