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