mirror of
https://github.com/vim/vim.git
synced 2025-09-24 03:44:06 -04:00
patch 9.1.0263: Vim9: Problem with lambda blocks in enums and classes
Problem: Vim9: Problem with lambda blocks in enums and classes (Aliaksei Budavei) Solution: Support evaluating lambda blocks from a string, skip over comments (Yegappan Lakshmanan) fixes: #14350 closes: #14405 Signed-off-by: Yegappan Lakshmanan <yegappan@yahoo.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
committed by
Christian Brabandt
parent
4a65391ca2
commit
3fa8f7728a
@@ -549,6 +549,7 @@ skip_expr_concatenate(
|
||||
((char_u **)gap->ga_data)[gap->ga_len - 1];
|
||||
((char_u **)gap->ga_data)[gap->ga_len - 1] = NULL;
|
||||
ga_clear_strings(gap);
|
||||
ga_clear(freegap);
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -1203,7 +1204,7 @@ get_lval_imported(
|
||||
|
||||
dictitem_T *di = find_var_in_ht(ht, 0, lp->ll_name, TRUE);
|
||||
if (di == NULL)
|
||||
// variable is not found
|
||||
// script is autoloaded. So variable will be found later
|
||||
goto success;
|
||||
|
||||
*dip = di;
|
||||
|
Reference in New Issue
Block a user