From 1b41dfb32481b22bda9f160c21edf12d0425ef7b Mon Sep 17 00:00:00 2001 From: Seonghyun Kim Date: Mon, 21 Oct 2024 10:00:57 +0900 Subject: [PATCH] Fix one of assignment optimizer bug Signed-off-by: Seonghyun Kim --- src/parser/ast/ObjectExpressionNode.h | 1 + test/vendortest | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/parser/ast/ObjectExpressionNode.h b/src/parser/ast/ObjectExpressionNode.h index ee3519173..16e06dd37 100644 --- a/src/parser/ast/ObjectExpressionNode.h +++ b/src/parser/ast/ObjectExpressionNode.h @@ -162,6 +162,7 @@ class ObjectExpressionNode : public ExpressionNode { if (!(p->key()->isIdentifier() && !p->computed())) { p->key()->iterateChildrenIdentifier(fn); } + p->value()->iterateChildrenIdentifier(fn); } } } diff --git a/test/vendortest b/test/vendortest index f9d5df51a..c9f0f43c4 160000 --- a/test/vendortest +++ b/test/vendortest @@ -1 +1 @@ -Subproject commit f9d5df51a326046dae8c89afef047f053f7be6ab +Subproject commit c9f0f43c4c1922bf79fc7b655deb8523f0548a5b