ChinchuAjith commented on code in PR #6519:
URL: 
https://github.com/apache/incubator-kie-drools/pull/6519#discussion_r2541099006


##########
kie-dmn/kie-dmn-feel/src/main/java/org/kie/dmn/feel/util/BooleanEvalHelper.java:
##########
@@ -286,4 +289,15 @@ static Boolean isEqualObject(Object l, Object r) {
         return true;
     }
 
+    // Evaluate right operand if it’s a node
+    public static Object evalRight(Object right, EvaluationContext ctx) {
+        if (right instanceof InfixOpNode) {
+            return ((InfixOpNode) right).evaluate(ctx);
+        } else if (right instanceof BaseNode) {
+            return ((BaseNode) right).evaluate(ctx);
+        } else {
+            return right;
+        }
+    }

Review Comment:
   Moved to the handler.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to