diff --git a/src/version.c b/src/version.c index 132af7cae1..842af416b0 100644 --- a/src/version.c +++ b/src/version.c @@ -754,6 +754,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 1452, /**/ 1451, /**/ diff --git a/src/vim9compile.c b/src/vim9compile.c index e5dbbefa29..bdb0f064e6 100644 --- a/src/vim9compile.c +++ b/src/vim9compile.c @@ -2396,17 +2396,6 @@ to_name_const_end(char_u *arg) if (eval_dict(&p, &rettv, NULL, TRUE) == FAIL) p = arg; } - else if (p == arg && *arg == '{') - { - int ret = get_lambda_tv(&p, &rettv, NULL); - - // Can be "{x -> ret}()". - // Can be "{'a': 1}->Func()". - if (ret == NOTDONE) - ret = eval_dict(&p, &rettv, NULL, FALSE); - if (ret != OK) - p = arg; - } return p; }