Patch 9.0.1187
Problem:    Test for using imported class fails.
Solution:   Skip over rest of type.
Files:      src/vim9type.c


*** ../vim-9.0.1186/src/vim9type.c      2023-01-12 17:06:24.136720890 +0000
--- src/vim9type.c      2023-01-12 20:01:59.856393723 +0000
***************
*** 1310,1316 ****
--- 1310,1321 ----
                type->tt_type = VAR_OBJECT;
                type->tt_member = (type_T *)tv.vval.v_class;
                clear_tv(&tv);
+ 
                *arg += len;
+               // Skip over ".ClassName".
+               while (ASCII_ISALNUM(**arg) || **arg == '_' || **arg == '.')
+                   ++*arg;
+ 
                return type;
            }
        }
*** ../vim-9.0.1186/src/version.c       2023-01-12 20:04:47.356343702 +0000
--- src/version.c       2023-01-12 20:38:43.540617419 +0000
***************
*** 697,698 ****
--- 697,700 ----
  {   /* Add new patch number below this line */
+ /**/
+     1187,
  /**/

-- 
If someone questions your market projections, simply point out that your
target market is "People who are nuts" and "People who will buy any damn
thing".  Nobody is going to tell you there aren't enough of those people
to go around.
                                (Scott Adams - The Dilbert principle)

 /// Bram Moolenaar -- b...@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    ///

-- 
-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/20230112203949.D72681C42FA%40moolenaar.net.

Raspunde prin e-mail lui