Patch 9.0.1156

3 views
Skip to first unread message

Bram Moolenaar

unread,
Jan 7, 2023, 8:07:49 AM1/7/23
to vim...@googlegroups.com

Patch 9.0.1156 (after 9.0.1155)
Problem: Tests fail because of a different error message.
Solution: Don't give an error if a type name can't be found.
Files: src/vim9type.c


*** ../vim-9.0.1155/src/vim9type.c 2023-01-07 12:08:37.954707527 +0000
--- src/vim9type.c 2023-01-07 13:01:09.570556270 +0000
***************
*** 1275,1282 ****
// It can be a class or interface name.
typval_T tv;
tv.v_type = VAR_UNKNOWN;
! if (eval_variable(*arg, len, 0, &tv, NULL,
! EVAL_VAR_VERBOSE + EVAL_VAR_IMPORT) == OK)
{
if (tv.v_type == VAR_CLASS && tv.vval.v_class != NULL)
{
--- 1275,1281 ----
// It can be a class or interface name.
typval_T tv;
tv.v_type = VAR_UNKNOWN;
! if (eval_variable(*arg, len, 0, &tv, NULL, EVAL_VAR_IMPORT) == OK)
{
if (tv.v_type == VAR_CLASS && tv.vval.v_class != NULL)
{
*** ../vim-9.0.1155/src/version.c 2023-01-07 12:08:37.954707527 +0000
--- src/version.c 2023-01-07 13:04:05.126572001 +0000
***************
*** 697,698 ****
--- 697,700 ----
{ /* Add new patch number below this line */
+ /**/
+ 1156,
/**/

--
Friends? I have lots of friends! In fact, I have all episodes ever made.

/// Bram Moolenaar -- Br...@Moolenaar.net -- http://www.Moolenaar.net \\\
/// \\\
\\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
Reply all
Reply to author
Forward
0 new messages