Christian wrote:
> On Di, 04 Dez 2018, Bram Moolenaar wrote:
>
> >
> > Patch 8.1.0563
> > Problem: Setting v:errors to a string give confusing error. (Christian
> > Brabandt)
> > Solution: Change internal error into normal error message.
> > Files: src/eval.c
>
> Thanks, but that fixes only half the problem. Vim will still set the
> variable to the new type, e.g. after E963 v:errors is now a string variable.
>
> How about to put this on top of it (this includes the test from
> Dominique, [see #3662] with slight changes):
Thanks, somehow I missed the missing return.
--
There are two ways of constructing a software design. One way is to make
it so simple that there are obviously no deficiencies. The other way
is to make it so complicated that there are no obvious deficiencies.
-C.A.R. Hoare
/// 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.