Cole-Greer commented on code in PR #3458:
URL: https://github.com/apache/tinkerpop/pull/3458#discussion_r3463871574


##########
gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/strategy/optimization/InlineFilterStrategy.java:
##########
@@ -114,6 +114,10 @@ step instanceof OrStep && processOrStep((OrStep) step, 
traversal) ||
     ///////////////////////////
 
     private static boolean processHasStep(final HasStep<?> step, final 
Traversal.Admin<?, ?> traversal) {
+        if 
(step.getHasContainers().stream().anyMatch(HasContainer::hasTraversal)) return 
false;

Review Comment:
   I've updated the javadoc and added additional test cases.



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

Reply via email to