0
0
mirror of https://github.com/vim/vim.git synced 2025-09-25 03:54:15 -04:00

patch 9.0.1540: reverse() on string doesn't work in compiled function

Problem:    reverse() on string doesn't work in compiled function.
Solution:   Accept string in argument type check. (Yegappan Lakshmanan,
            closes #12377)
This commit is contained in:
Yegappan Lakshmanan
2023-05-11 15:02:56 +01:00
committed by Bram Moolenaar
parent 4ce1bda869
commit f9dc278946
8 changed files with 31 additions and 18 deletions

View File

@@ -134,7 +134,7 @@ didset_string_options(void)
(void)opt_strings_flags(p_swb, p_swb_values, &swb_flags, TRUE);
}
#if defined(FEAT_EVAL)
#if defined(FEAT_EVAL) || defined(PROTO)
/*
* Trigger the OptionSet autocommand.
* "opt_idx" is the index of the option being set.