summaryrefslogtreecommitdiffstats
path: root/src/errors.h
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2021-08-19 21:08:30 +0200
committerBram Moolenaar <Bram@vim.org>2021-08-19 21:08:30 +0200
commitc66f645b809d0852592ca37afacb9031b5950c7f (patch)
treefe897dff075ffe17343309646fb09973af091207 /src/errors.h
parentdea561111a5761bf99397a246b8baa43e73288de (diff)
patch 8.2.3359: Vim9: error for type when variable is not setv8.2.3359
Problem: Vim9: error for type when variable is not set. Solution: Give a specific error for a NULL function. (closes #8773)
Diffstat (limited to 'src/errors.h')
-rw-r--r--src/errors.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/errors.h b/src/errors.h
index 3468ab780c..b4c111d3f1 100644
--- a/src/errors.h
+++ b/src/errors.h
@@ -652,3 +652,5 @@ EXTERN char e_exists_compiled_can_only_be_used_in_def_function[]
INIT(= N_("E1233: exists_compiled() can only be used in a :def function"));
EXTERN char e_legacy_must_be_followed_by_command[]
INIT(= N_("E1234: legacy must be followed by a command"));
+EXTERN char e_function_reference_is_not_set[]
+ INIT(= N_("E1235: Function reference is not set"));