From 7b29cc97d6c1450865969d08c5538a40c304593c Mon Sep 17 00:00:00 2001 From: LemonBoy Date: Sat, 22 Jun 2024 17:25:07 +0200 Subject: patch 9.1.0514: Vim9: issue with comparing objects recursively Problem: Vim9: issue with comparing objects recursively (Yinzuo Jiang) Solution: only set recursive == TRUE, when called from tv_equal(), not from typeval_compare_object(), refactor code into object_equal() function (LemonBoy) The recursive flag in tv_equal should be set only when the caller is tv_equal, meaning that the comparison depth is > 1. The comparison predicates for other object types are all following this rule, except for the object one, and that may cause some weird issues like causing the max depth limit not to be initialized in some cases. closes: #15076 Signed-off-by: LemonBoy Signed-off-by: Christian Brabandt --- src/version.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/version.c') diff --git a/src/version.c b/src/version.c index e8f6a2d0d1..391ac7365e 100644 --- a/src/version.c +++ b/src/version.c @@ -704,6 +704,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 514, /**/ 513, /**/ -- cgit v1.2.3