function! ReturnArgs(...)
  return a:000
endfunction

" Seems to work fine?
echo ReturnArgs(1, 2, 3)

" SEGV
echo string(ReturnArgs(1, 2, 3))

function! MakeArgsDict(...)
  return { 'args': a:000 }
endfunction

" E685 Internal Error
echo MakeArgsDict(1, 2, 3)

" SEGV
echo string(MakeArgsDict(1, 2, 3))

~Matt

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Raspunde prin e-mail lui