Mercurial > vim
comparison src/errors.h @ 26346:8be6413a8e27 v8.2.3704
patch 8.2.3704: Vim9: cannot use a list declaration in a :def function
Commit: https://github.com/vim/vim/commit/ab36e6ae7b87b0295fb19270e4339a734875c6b1
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Nov 30 16:14:49 2021 +0000
patch 8.2.3704: Vim9: cannot use a list declaration in a :def function
Problem: Vim9: cannot use a list declaration in a :def function.
Solution: Make it work.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Tue, 30 Nov 2021 17:15:03 +0100 |
parents | c189c40c9a22 |
children | a926ccd92ae1 |
comparison
equal
deleted
inserted
replaced
26345:1707aa6d46a2 | 26346:8be6413a8e27 |
---|---|
364 INIT(= N_("E1089: Unknown variable: %s")); | 364 INIT(= N_("E1089: Unknown variable: %s")); |
365 EXTERN char e_cannot_assign_to_argument[] | 365 EXTERN char e_cannot_assign_to_argument[] |
366 INIT(= N_("E1090: Cannot assign to argument %s")); | 366 INIT(= N_("E1090: Cannot assign to argument %s")); |
367 EXTERN char e_function_is_not_compiled_str[] | 367 EXTERN char e_function_is_not_compiled_str[] |
368 INIT(= N_("E1091: Function is not compiled: %s")); | 368 INIT(= N_("E1091: Function is not compiled: %s")); |
369 EXTERN char e_cannot_use_list_for_declaration[] | 369 // E1092 unused |
370 INIT(= N_("E1092: Cannot use a list for a declaration")); | |
371 EXTERN char e_expected_nr_items_but_got_nr[] | 370 EXTERN char e_expected_nr_items_but_got_nr[] |
372 INIT(= N_("E1093: Expected %d items but got %d")); | 371 INIT(= N_("E1093: Expected %d items but got %d")); |
373 EXTERN char e_import_can_only_be_used_in_script[] | 372 EXTERN char e_import_can_only_be_used_in_script[] |
374 INIT(= N_("E1094: Import can only be used in a script")); | 373 INIT(= N_("E1094: Import can only be used in a script")); |
375 EXTERN char e_unreachable_code_after_return[] | 374 EXTERN char e_unreachable_code_after_return[] |