gitgabrio commented on code in PR #6213:
URL: 
https://github.com/apache/incubator-kie-drools/pull/6213#discussion_r1916417393


##########
kie-dmn/kie-dmn-feel/src/main/java/org/kie/dmn/feel/runtime/functions/ListContainsFunction.java:
##########
@@ -56,7 +57,8 @@ public static boolean itemEqualsSC(Object value, Object 
itemFromList) {
         if (value instanceof String) {
             return value.equals(itemFromList);
         } else {
-            Boolean dmnEqual = BooleanEvalHelper.isEqual(value, itemFromList);
+            // Defaulting FEELDialect to FEEL
+            Boolean dmnEqual = BooleanEvalHelper.isEqual(value, itemFromList, 
FEELDialect.FEEL);

Review Comment:
   Thanks @baldimir - so it should also be applied to every function returning 
a number, a list, or whatever, IIUC



-- 
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