From 0346b799fc228a3b48967ca0747e6b23586dbaa6 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Sun, 31 Jan 2021 22:18:29 +0100 Subject: 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) --- 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 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")); -- cgit v1.2.1