Problem: Vim9: test for map() on string fails.
Solution: Expect string return type.
if (context->arg_types[0]->tt_type == VAR_LIST
|| context->arg_types[0]->tt_type == VAR_DICT)
expected = context->arg_types[0]->tt_member;
- else if (context->arg_types[0]->tt_type == VAR_STRING
- || context->arg_types[0]->tt_type == VAR_BLOB)
+ else if (context->arg_types[0]->tt_type == VAR_STRING)
+ expected = &t_string;
+ else if (context->arg_types[0]->tt_type == VAR_BLOB)
expected = &t_number;
if (expected != NULL)
{
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 3899,
/**/
3898,
/**/