mirror of
https://github.com/vim/vim.git
synced 2025-09-25 03:54:15 -04:00
patch 8.2.3191: Vim9: not enough code is tested
Problem: Vim9: not enough code is tested. Solution: Use CheckLegacyAndVim9Success() in more places. Fix uncovered problems.
This commit is contained in:
@@ -6599,7 +6599,7 @@ compile_assign_unlet(
|
||||
return FAIL;
|
||||
}
|
||||
type = ((type_T **)stack->ga_data)[stack->ga_len - 1];
|
||||
if ((dest_type != VAR_BLOB || type != &t_special)
|
||||
if ((dest_type != VAR_BLOB && type != &t_special)
|
||||
&& need_type(type, &t_number,
|
||||
-1, 0, cctx, FALSE, FALSE) == FAIL)
|
||||
return FAIL;
|
||||
|
Reference in New Issue
Block a user