Uploaded image for project: 'TinkerPop'
  1. TinkerPop
  2. TINKERPOP-1510

Inline comments in Gremlin console

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Won't Do
    • Affects Version/s: 3.2.2
    • Fix Version/s: None
    • Component/s: console
    • Labels:
      None

      Description

      A while back it was no issue to have inline comments in multi-line Gremlin traversals; code samples from the docs could easily be copied and pasted. Now I just tried to paste a code block and ended up with this:

      gremlin> g.V(input.head()).
      ......1>            repeat(out('hasParent')).emit().as('x'). //(1)
      groovysh_parse: 3: unexpected token: . @ line 3, column 51.
         t('hasParent')).emit().as('x'). //(1)
      

      Robert Dale, could this have something to do with any of your recent changes?

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              dkuppitz Daniel Kuppitz
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: