Dominique wrote:
> This command gives an internal error: > > :echo empty(test_void()) > E685: Internal error: f_empty(UNKNOWN) > 1 > Press ENTER or type command to continue > > Same kind of internal error at least for: > > :echo empty(test_unknown()) > :echo type(test_void()) > :echo type(test_unknown()) > > Internal errors should never happen. But I suppose > that this use of test_void() or test_unknown() does > not make sense. And that it should not be possible > to reproduce this internal error without calling test_void() > or test_unknown(). Correct? or should we fix anything here? Good point. I think it's better to give this error without calling abort(). Otherwise we can't even test how they work. I'll make a patch. Are there any others? -- Don't drink and drive. You might hit a bump and spill your beer. /// 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]. To view this discussion on the web visit https://groups.google.com/d/msgid/vim_dev/202002291241.01TCfZxC010264%40masaka.moolenaar.net.
