Ken Takata wrote:

> Consider the following script:
> 
> function! Callback(arg1, arg2, name)
>   echo [a:arg1, a:arg2, a:name]
> endfunction
> let Func = function('Callback', ['one', 'two'])
> let Func2 = function(Func, ['name'])
> call Func2()
> 
> I expect ['one', 'two', 'name'] for the output, but this doesn't work and
> even it crashes.  Attached patch fixes this.
> 
> Should `function({partial}, {args})` append {args} to the existing arguments
> or replace them?  I think it should append.

I agree.

Thanks!

-- 
hundred-and-one symptoms of being an internet addict:
65. The last time you looked at the clock it was 11:30pm, and in what
    seems like only a few seconds later, your sister runs past you to
    catch her 7am school bus.

 /// 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].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui