patch 8.2.2445: Vim9: no proper error for lambda missing return type
Problem: Vim9: no proper error for lambda missing return type.
Solution: Check for this error. (closes #7758)
diff --git a/src/errors.h b/src/errors.h
index c27da7c..990fb86 100644
--- a/src/errors.h
+++ b/src/errors.h
@@ -349,3 +349,5 @@
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"));