diff options
Diffstat (limited to 'src/eval.c')
-rw-r--r-- | src/eval.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/eval.c b/src/eval.c index fc2266225..8050bbbbe 100644 --- a/src/eval.c +++ b/src/eval.c @@ -3326,7 +3326,8 @@ eval7t( : (evalarg->eval_flags & EVAL_EVALUATE); // Recognize <type> in Vim9 script only. - if (in_vim9script() && **arg == '<' && eval_isnamec1((*arg)[1])) + if (in_vim9script() && **arg == '<' && eval_isnamec1((*arg)[1]) + && STRNCMP(*arg, "<SNR>", 5) != 0) { ++*arg; ga_init2(&type_list, sizeof(type_T *), 10); |