To: vim_dev@googlegroups.com Subject: Patch 9.0.1187 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ 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 -- Bram@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 ///