mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
patch 9.0.1814: Vim9 no error on duplicate object member var
Problem: Vim9 no error on duplicate object member var Solution: detect duplicate members and error out closes: #12938 Signed-off-by: Christian Brabandt <cb@256bit.org> Co-authored-by: Yegappan Lakshmanan <yegappan@yahoo.com>
This commit is contained in:
committed by
Christian Brabandt
parent
1d3e0e8f31
commit
2ba9d2e14e
@@ -3489,6 +3489,10 @@ EXTERN char e_cannot_access_private_method_str[]
|
||||
|
||||
EXTERN char e_interface_str_and_class_str_function_access_not_same[]
|
||||
INIT(= N_("E1367: Access type of class method %s differs from interface method %s"));
|
||||
EXTERN char e_static_cannot_be_followed_by_this[]
|
||||
INIT(= N_("E1368: Static cannot be followed by \"this\" in a member name"));
|
||||
EXTERN char e_duplicate_member_str[]
|
||||
INIT(= N_("E1369: Duplicate member: %s"));
|
||||
EXTERN char e_cannot_mix_positional_and_non_positional_str[]
|
||||
INIT(= N_("E1400: Cannot mix positional and non-positional arguments: %s"));
|
||||
EXTERN char e_fmt_arg_nr_unused_str[]
|
||||
|
Reference in New Issue
Block a user