patch 9.0.0229: Vim9: error message for missing type is not clear
Problem: Vim9: error message for missing type is not clear.
Solution: Mention the context. (issue #10944)
diff --git a/src/errors.h b/src/errors.h
index 8aad956..bc1145d 100644
--- a/src/errors.h
+++ b/src/errors.h
@@ -2634,10 +2634,10 @@
INIT(= N_("E1006: %s is used as an argument"));
EXTERN char e_mandatory_argument_after_optional_argument[]
INIT(= N_("E1007: Mandatory argument after optional argument"));
-EXTERN char e_missing_type[]
- INIT(= N_("E1008: Missing <type>"));
-EXTERN char e_missing_gt_after_type[]
- INIT(= N_("E1009: Missing > after type"));
+EXTERN char e_missing_type_after_str[]
+ INIT(= N_("E1008: Missing <type> after %s"));
+EXTERN char e_missing_gt_after_type_str[]
+ INIT(= N_("E1009: Missing > after type: %s"));
EXTERN char e_type_not_recognized_str[]
INIT(= N_("E1010: Type not recognized: %s"));
EXTERN char e_name_too_long_str[]