mirror of
https://github.com/vim/vim.git
synced 2025-09-26 04:04:07 -04:00
patch 8.2.0469: Vim9: no error for missing ] after list
Problem: Vim9: no error for missing ] after list. Solution: Add error message. Add more tests.
This commit is contained in:
@@ -350,7 +350,10 @@ get_lambda_tv(char_u **arg, typval_T *rettv, int evaluate)
|
||||
e = *arg;
|
||||
*arg = skipwhite(*arg);
|
||||
if (**arg != '}')
|
||||
{
|
||||
semsg(_("E451: Expected }: %s"), *arg);
|
||||
goto errret;
|
||||
}
|
||||
++*arg;
|
||||
|
||||
if (evaluate)
|
||||
|
Reference in New Issue
Block a user