Hi,

When I source the following example code fragment in vim9.txt
(under vim9-no-dict-function), I get the "E1168: Argument already
declared in the script: d" error.

-----------------------------------------------------------------
        def DictFunc(d: dict<any>, arg: string)
           echo d[arg]
        enddef
        var d = {item: 'value', func: DictFunc}
        d.func(d, 'item')
-----------------------------------------------------------------

Either the example should be changed or the code should be modified
to support this usage.

I was testing the ":source" command to source vim9 code when I ran
into this problem.

- 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/CAAW7x7mAhd6cJBTDVR5GWMg8xs0n90KxnLOez47dj84ZJ%3DQAPw%40mail.gmail.com.

Raspunde prin e-mail lui