function E_117_Bad() aborttryreturn foo#Bar()catch /.*/endtryendfunction
function E_117_Bad() aborttrylet l:foo = foo#Bar()
return l:foo
catch /.*/endtryendfunction
I discovered a bug in try..catch. E117 bypasses the catch and always bubbles up to the user if it comes from a :return command in code like the following:function E_117_Bad() aborttryreturn foo#Bar()catch /.*/endtryendfunction
This may be irrelevant but as it isn’t defined here: What is foo#Bar()?
That is why I name such functions like xxx_unknown_function_xxx. No questions with such convention.
> David
>
> --
> --
> 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+u...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
You received this message because you are subscribed to a topic in the Google Groups "vim_dev" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/vim_dev/SQO6gi1B8aI/unsubscribe.
To unsubscribe from this group and all its topics, send an email to vim_dev+u...@googlegroups.com.