mirror of
https://github.com/vim/vim.git
synced 2025-09-26 04:04:07 -04:00
patch 8.2.4285: Vim9: type of item in for loop not checked properly
Problem: Vim9: type of item in for loop not checked properly. Solution: Adjust the type checking. (closes #9683)
This commit is contained in:
@@ -386,7 +386,7 @@ use_typecheck(type_T *actual, type_T *expected)
|
||||
* If "actual_is_const" is TRUE then the type won't change at runtime, do not
|
||||
* generate a TYPECHECK.
|
||||
*/
|
||||
static int
|
||||
int
|
||||
need_type_where(
|
||||
type_T *actual,
|
||||
type_T *expected,
|
||||
|
Reference in New Issue
Block a user