Mercurial > vim
diff src/errors.h @ 31416:f088f1d97eee v9.0.1041
patch 9.0.1041: cannot define a method in a class
Commit: https://github.com/vim/vim/commit/ffdaca9e6f3d39af6857ac52ced9385df203a152
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Dec 9 21:41:48 2022 +0000
patch 9.0.1041: cannot define a method in a class
Problem: Cannot define a method in a class.
Solution: Implement defining an object method. Make calling an object
method work.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 09 Dec 2022 22:45:03 +0100 |
parents | 307f68a41b03 |
children | e572ff386670 |
line wrap: on
line diff
--- a/src/errors.h +++ b/src/errors.h @@ -3370,4 +3370,6 @@ EXTERN char e_method_not_found_on_class_ INIT(= N_("E1325: Method not found on class \"%s\": %s")); EXTERN char e_member_not_found_on_object_str_str[] INIT(= N_("E1326: Member not found on object \"%s\": %s")); -#endif +EXTERN char e_object_required_found_str[] + INIT(= N_("E1327: Object required, found %s")); +#endif