DOAN DuyHai created TINKERPOP-1746:
--------------------------------------

             Summary: Better error message on wrong ordering of 
emit()/until()/has()
                 Key: TINKERPOP-1746
                 URL: https://issues.apache.org/jira/browse/TINKERPOP-1746
             Project: TinkerPop
          Issue Type: Improvement
         Environment: TinkerPop 3.2.5
            Reporter: DOAN DuyHai
            Priority: Trivial


{code}
gremlin> g.withSack([] as Set).
......1>   V().
......2>   emit().
......3>   has("station", "name", "South Kensington").
......4>   repeat(bothE("connectedTo").sack{s,v -> s.add(v); return 
s;}.by("line").otherV().simplePath()).times(2).
......5>   sack()
NullPointerException
Type ':help' or ':h' for help.
Display stack trace? [yN]
{code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to