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
*** ../vim-8.1.0562/src/eval.c 2018-11-28 21:20:34.096221686 +0100
--- src/eval.c 2018-12-04 22:33:08.228556609 +0100
***************
*** 7568,7574 ****
return;
}
else if (v->di_tv.v_type != tv->v_type)
! internal_error("set_var()");
}
clear_tv(&v->di_tv);
--- 7568,7574 ----
return;
}
else if (v->di_tv.v_type != tv->v_type)
! EMSG2(_("E963: setting %s to value with wrong type"), name);
}
clear_tv(&v->di_tv);
*** ../vim-8.1.0562/src/version.c 2018-12-04 22:24:12.193693584 +0100
--- src/version.c 2018-12-04 22:34:12.912012871 +0100
***************
*** 794,795 ****
--- 794,797 ----
{ /* Add new patch number below this line */
+ /**/
+ 563,
/**/
--
ARTHUR: The swallow may fly south with the sun, or the house martin or the
plover seek warmer hot lands in winter, yet these are not strangers to
our land.
SOLDIER: Are you suggesting coconuts migrate?
"Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
/// 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.