You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kie.apache.org by "tkobayas (via GitHub)" <gi...@apache.org> on 2026/09/16 08:57:57 UTC

[PR] [DO-NOT-MERGE] test -PenableNewParser [incubator-kie]

tkobayas opened a new pull request, #7114:
URL: https://github.com/apache/incubator-kie/pull/7114

   - Relate to https://github.com/apache/incubator-kie/issues/6897


-- 
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: commits-unsubscribe@kie.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For additional commands, e-mail: commits-help@kie.apache.org


Re: [PR] [incubator-kie#6897] Review enableNewParser test [incubator-kie]

Posted by "tkobayas (via GitHub)" <gi...@apache.org>.
tkobayas commented on code in PR #7114:
URL: https://github.com/apache/incubator-kie/pull/7114#discussion_r4033709740


##########
drools-model/drools-model-codegen/src/test/java/org/drools/model/codegen/execmodel/SubnetworkSharingExistsTest.java:
##########
@@ -73,7 +73,7 @@ public void testExistsWithDifferentSubnetworkEntryPoints(RUN_TYPE runType) {
                 "        TextField(name == \"field1\" && value == \"A\")\n" +
                 "        exists(\n" +
                 "            TextField(name == \"field3\" && value == \"1\")\n" +
-                "            && TextField(name == \"field2\" && value == \"20\")\n" +
+                "            and TextField(name == \"field2\" && value == \"20\")\n" +

Review Comment:
   In DRL10, we need to use `and` to connect patterns, while `&&` is used to connect constraints. This distinction avoids ambiguity.
   



-- 
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: commits-unsubscribe@kie.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For additional commands, e-mail: commits-help@kie.apache.org


Re: [PR] [incubator-kie#6897] Review enableNewParser test [incubator-kie]

Posted by "tkobayas (via GitHub)" <gi...@apache.org>.
tkobayas commented on code in PR #7114:
URL: https://github.com/apache/incubator-kie/pull/7114#discussion_r4033709740


##########
drools-model/drools-model-codegen/src/test/java/org/drools/model/codegen/execmodel/SubnetworkSharingExistsTest.java:
##########
@@ -73,7 +73,7 @@ public void testExistsWithDifferentSubnetworkEntryPoints(RUN_TYPE runType) {
                 "        TextField(name == \"field1\" && value == \"A\")\n" +
                 "        exists(\n" +
                 "            TextField(name == \"field3\" && value == \"1\")\n" +
-                "            && TextField(name == \"field2\" && value == \"20\")\n" +
+                "            and TextField(name == \"field2\" && value == \"20\")\n" +

Review Comment:
   In DRL10, we need to use `and` to connect patterns. `&&` is used to connect constraints. (to remove ambiguity)



-- 
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: commits-unsubscribe@kie.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For additional commands, e-mail: commits-help@kie.apache.org


Re: [PR] [incubator-kie#6897] Review enableNewParser test [incubator-kie]

Posted by "tkobayas (via GitHub)" <gi...@apache.org>.
tkobayas merged PR #7114:
URL: https://github.com/apache/incubator-kie/pull/7114


-- 
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: commits-unsubscribe@kie.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For additional commands, e-mail: commits-help@kie.apache.org