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 -- [email protected] -- http://www.Moolenaar.net   \\\
///                                                                      \\\
\\\        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
 \\\            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/20230107130744.BCB131C044B%40moolenaar.net.

Raspunde prin e-mail lui