# HG changeset patch # User Bram Moolenaar # Date 1609418705 -3600 # Node ID 42294d4d4f6ee8bbc4a1dad78a3523c53d24ff87 # Parent 63661c0e66948c02c7585d2527992194d759ccff patch 8.2.2253: Vim9: expr test fails Commit: https://github.com/vim/vim/commit/ca2f7e7af32d51c2be378a5298bc85958c877653 Author: Bram Moolenaar Date: Thu Dec 31 13:39:54 2020 +0100 patch 8.2.2253: Vim9: expr test fails Problem: Vim9: expr test fails. Solution: Add missing assignment. diff --git a/src/userfunc.c b/src/userfunc.c --- a/src/userfunc.c +++ b/src/userfunc.c @@ -664,6 +664,8 @@ get_lambda_tv( if (fp->uf_ret_type == NULL) goto errret; } + else + fp->uf_ret_type = &t_unknown; } fp->uf_lines = newlines; diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -751,6 +751,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 2253, +/**/ 2252, /**/ 2251,