From c449271f4efa44725c40116a95b213813040312f Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Mon, 22 Nov 2021 15:37:15 +0000 Subject: patch 8.2.3646: using in a function gives an unexpected result Problem: Using in a function gives an unexpected result. Solution: Give an error in a Vim9 function. (issue #9189) --- src/errors.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/errors.h') diff --git a/src/errors.h b/src/errors.h index 537072d7d5..753e2fe41e 100644 --- a/src/errors.h +++ b/src/errors.h @@ -684,3 +684,5 @@ EXTERN char e_ascii_code_not_in_range[] INIT(= N_("E1243: ASCII code not in 32-127 range")); EXTERN char e_bad_color_string_str[] INIT(= N_("E1244: Bad color string: %s")); +EXTERN char e_cannot_expand_sfile_in_vim9_function[] + INIT(= N_("E1245: Cannot expand in a Vim9 function")); -- cgit v1.2.3