Patch 9.0.1187

3 views
Skip to first unread message

Bram Moolenaar

unread,
Jan 12, 2023, 3:39:55 PM1/12/23
to vim...@googlegroups.com

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 -- 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