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

Matt Frantz commented on TINKERPOP3-710:
----------------------------------------

Does this increased reliance on "hidden lambdas" bode ill for eventual 
serialization of a traversal or other unwanted side effects?

> 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