summaryrefslogtreecommitdiff
path: root/src/errors.h
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2021-01-31 22:18:29 +0100
committerBram Moolenaar <Bram@vim.org>2021-01-31 22:18:29 +0100
commit0346b799fc228a3b48967ca0747e6b23586dbaa6 (patch)
tree9cbcb1f9e27e0eeab9d11cbd387776ec4f515697 /src/errors.h
parente507ff15d52653dad3054ddc0073708977621c0c (diff)
downloadvim-git-8.2.2445.tar.gz
patch 8.2.2445: Vim9: no proper error for lambda missing return typev8.2.2445
Problem: Vim9: no proper error for lambda missing return type. Solution: Check for this error. (closes #7758)
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 c27da7cc3..990fb86ee 100644
--- a/src/errors.h
+++ b/src/errors.h
@@ -349,3 +349,5 @@ EXTERN char e_cannot_define_autocommands_for_all_events[]
INIT(= N_("E1155: Cannot define autocommands for ALL events"));
EXTERN char e_cannot_change_arglist_recursively[]
INIT(= N_("E1156: Cannot change the argument list recursively"));
+EXTERN char e_missing_return_type[]
+ INIT(= N_("E1157: Missing return type"));