[ 
https://issues.apache.org/jira/browse/TINKERPOP3-710?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14563360#comment-14563360
 ] 

Marko A. Rodriguez commented on TINKERPOP3-710:
-----------------------------------------------

Now it does. :)

https://github.com/apache/incubator-tinkerpop/blob/master/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/lambda/PredicateTraverser.java

https://github.com/apache/incubator-tinkerpop/blob/master/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/dsl/graph/GraphTraversal.java#L669-L671

(likewise, there exists a {{FunctionTraverser}}).

> choose(Predicate,...) throws UnsupportedOperationException
> ----------------------------------------------------------
>
>                 Key: TINKERPOP3-710
>                 URL: https://issues.apache.org/jira/browse/TINKERPOP3-710
>             Project: TinkerPop 3
>          Issue Type: Bug
>            Reporter: Matt Frantz
>            Assignee: Marko A. Rodriguez
>             Fix For: 3.0.0.GA
>
>
> This is on the 3.0.0.M9-incubating tag.
> {noformat}
> gremlin> g.V().choose({ v -> false }, __.out(), __.in())
> The FilterTraversal can only be used as a predicate traversal
> Display stack trace? [yN] 
> {noformat}
> This looks like a regression.  I don't see any unit tests for the 
> {{Predicate}} form of {{choose}}.  I happen to maintain my own regressions 
> for this, so I could contribute them.  Not sure of the fix though.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to