From 2515479c179525d2fcd2b0debea574711a471d55 Mon Sep 17 00:00:00 2001 From: Alain Dargelas Date: Sat, 2 Dec 2023 23:11:07 -0800 Subject: [PATCH] packed_array_var fix --- templates/ExprEval.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/templates/ExprEval.cpp b/templates/ExprEval.cpp index 395d0baa..6ec7e119 100644 --- a/templates/ExprEval.cpp +++ b/templates/ExprEval.cpp @@ -4296,7 +4296,8 @@ expr *ExprEval::reduceExpr(const any *result, bool &invalidValue, any *elem = elems->at(index_val); if (elem->UhdmType() == UHDM_OBJECT_TYPE::uhdmenum_var || elem->UhdmType() == UHDM_OBJECT_TYPE::uhdmstruct_var || - elem->UhdmType() == UHDM_OBJECT_TYPE::uhdmunion_var) { + elem->UhdmType() == UHDM_OBJECT_TYPE::uhdmunion_var || + elem->UhdmType() == UHDM_OBJECT_TYPE::uhdmlogic_var) { } else { result = elems->at(index_val); }