From 5fb70973aabcbf265391e95d766f69bb2179e618 Mon Sep 17 00:00:00 2001 From: Johan Nyman Date: Mon, 14 Aug 2023 08:58:48 +0200 Subject: [PATCH] chore: fix bad optimization --- src/resolver/ExpressionHandler.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/resolver/ExpressionHandler.ts b/src/resolver/ExpressionHandler.ts index 46cefc16..bfb4c854 100644 --- a/src/resolver/ExpressionHandler.ts +++ b/src/resolver/ExpressionHandler.ts @@ -129,7 +129,7 @@ export class ExpressionHandler { public validateExpression(operatorList: Array, expr0: Expression, breadcrumbs?: string): true { if (!breadcrumbs) breadcrumbs = 'ROOT' - if (isObject(expr0)) { + if (isObject(expr0) && !isArray(expr0)) { const expr: ExpressionObj = expr0 if (expr.l === undefined)